Skip to content

Commit 66b1b2b

Browse files
authored
Merge pull request #7 from flippercloud/github-actions
Setup GitHub Actions
2 parents 82e357d + 3a58fdf commit 66b1b2b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
lint:
5+
name: Lint
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
- uses: actions/setup-node@v3
10+
with:
11+
cache: yarn
12+
- run: yarn install
13+
- run: yarn lint
14+
test:
15+
name: Test
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-node@v3
20+
with:
21+
cache: yarn
22+
- run: yarn install
23+
- run: yarn test

0 commit comments

Comments
 (0)