Skip to content

Commit 058e92e

Browse files
authored
ci: switch to GHA (#179)
1 parent 9add95e commit 058e92e

File tree

4 files changed

+34
-12
lines changed

4 files changed

+34
-12
lines changed

.circleci/config.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 19 * * 1-5'
7+
push:
8+
branches:
9+
- main
10+
pull_request:
11+
branches:
12+
- main
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
test:
19+
name: Test
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24+
- name: Setup Node.js
25+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
26+
with:
27+
node-version-file: '.nvmrc'
28+
cache: 'yarn'
29+
- name: Install dependencies
30+
run: yarn install --frozen-lockfile
31+
- name: Test
32+
run: yarn test

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> A free service that makes it easy for open-source Electron apps to update themselves.
44
5-
[![CircleCI build status](https://circleci.com/gh/electron/update.electronjs.org/tree/main.svg?style=shield)](https://circleci.com/gh/electron/update.electronjs.org/tree/main)
5+
[![Test](https://github.com/electron/update.electronjs.org/actions/workflows/test.yml/badge.svg)](https://github.com/electron/update.electronjs.org/actions/workflows/test.yml)
66

77
## Requirements
88

0 commit comments

Comments
 (0)