Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 5db38f6

Browse files
authored
Add CI workflow
1 parent 20e6bc7 commit 5db38f6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

nodejs.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Node CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [8.x, 10.x, 12.x]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- name: npm install, build, lint, and test
21+
run: |
22+
npm install
23+
npm run build
24+
npm run lint
25+
npm test
26+
env:
27+
CI: true

0 commit comments

Comments
 (0)