Skip to content

Commit 10b6cb0

Browse files
authored
Create nodejs.yml
1 parent 02fe150 commit 10b6cb0

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

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

0 commit comments

Comments
 (0)