Skip to content

Commit 47dce28

Browse files
authored
Chore: Migrate to actions for CI (#153)
1 parent 8e95c8c commit 47dce28

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/push.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
check:
14+
name: Automated checks
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
with:
20+
persist-credentials: false
21+
22+
- name: Setup environment
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version-file: '.nvmrc'
26+
27+
- name: Install dependencies
28+
run: yarn install --immutable
29+
30+
- name: Spellcheck
31+
run: yarn spellcheck
32+
33+
- name: Lint files
34+
run: yarn lint
35+
36+
- name: Run tests
37+
run: yarn test:ci
38+
39+
- name: Run build
40+
run: yarn build

0 commit comments

Comments
 (0)