|
@@ -1,26 +0,0 @@
|
|
|
-name: Node CI
|
|
|
-
|
|
|
-on: [push, pull_request]
|
|
|
-
|
|
|
-jobs:
|
|
|
- test:
|
|
|
- runs-on: ubuntu-latest
|
|
|
- strategy:
|
|
|
- matrix:
|
|
|
- node-version: [12.x, 14.x]
|
|
|
- steps:
|
|
|
- - uses: actions/checkout@v2
|
|
|
- - uses: actions/setup-node@v1
|
|
|
- with:
|
|
|
- node-version: ${{ matrix.node-version }}
|
|
|
- - run: npm install --ignore-scripts
|
|
|
- - run: npm test
|
|
|
- lint:
|
|
|
- runs-on: ubuntu-latest
|
|
|
- steps:
|
|
|
- - uses: actions/checkout@v2
|
|
|
- - uses: actions/setup-node@v1
|
|
|
- with:
|
|
|
- node-version: 12.x
|
|
|
- - run: npm install --ignore-scripts
|
|
|
- - run: npm run lint
|