Skip to content

Commit 7171df5

Browse files
ci: add CI workflow
1 parent 39050c9 commit 7171df5

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-node@v4
9+
with:
10+
node-version: '20'
11+
cache: 'npm'
12+
- run: npm ci
13+
- run: npm test --if-present
14+
- run: npm run lint --if-present
15+
- run: npm run build --if-present

0 commit comments

Comments
 (0)