Skip to content

Commit 969d2f0

Browse files
committed
Migrate CI to GitHub Actions
1 parent 3837dac commit 969d2f0

File tree

5 files changed

+42
-327
lines changed

5 files changed

+42
-327
lines changed

.circleci/config.yml

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

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version-file: '.nvmrc'
15+
cache: 'npm'
16+
- run: npm ci
17+
- run: npm run test
18+
19+
lint:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: actions/setup-node@v4
24+
with:
25+
node-version-file: '.nvmrc'
26+
cache: 'npm'
27+
- run: npm ci
28+
- run: npm run lint
29+
30+
prettier:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v4
34+
- uses: actions/setup-node@v4
35+
with:
36+
node-version-file: '.nvmrc'
37+
cache: 'npm'
38+
- run: npm ci
39+
- run: npm run prettier:check

.nvmrc

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

0 commit comments

Comments
 (0)