Initial commit #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
run: | |
name: Run CI | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '10.x', '12.x', '13.x' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Set Node.js ${{ matrix.node }} | |
uses: actions/setup-node@master | |
with: | |
node-version: ${{ matrix.node }} | |
- name: node version | |
run: node --version | |
- name: npm audit | |
run: npm audit | |
- name: npm install | |
run: npm install | |
- name: npm test | |
run: npm run test-ci | |
- name: Lint | |
run: npm run lint |