Skip to content

Commit 3e59dfd

Browse files
committed
build: add github actions
1 parent e19d4db commit 3e59dfd

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 CI
2+
3+
on: [push]
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- name: Use Node.js 14.x
10+
uses: actions/setup-node@v1
11+
with:
12+
node-version: 14.x
13+
- name: npm install, build, and test
14+
run: |
15+
npm install
16+
npm run build --if-present
17+
npm test
18+
env:
19+
CI: true
20+

0 commit comments

Comments
 (0)