Skip to content

Commit 498e36b

Browse files
committed
add github action
1 parent 580402c commit 498e36b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/nodejs.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Node.js CI
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: volta-cli/action@v1
15+
- run: npm ci --no-audit
16+
- run: npm run lint --if-present
17+
- run: npm test
18+
- run: npm run build --if-present
19+
env:
20+
CI: true

0 commit comments

Comments
 (0)