Merge pull request #265 from loafoe/dependabot/npm_and_yarn/webpack-5… #468
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: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Test on Node ${{ matrix.node }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '16', '14' ] | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: install dependencies | |
run: npm ci | |
- name: Project Tests | |
run: npm test | |
test_latest: | |
name: Test on latest Node | |
runs-on: ubuntu-latest | |
container: node:current | |
steps: | |
- uses: actions/checkout@v1 | |
- name: install dependencies | |
run: npm ci | |
- name: Project Tests | |
run: npm test | |
eslint: | |
name: Check ESLint | |
runs-on: ubuntu-latest | |
container: node:current | |
steps: | |
- uses: actions/checkout@v1 | |
- name: install dependencies | |
run: npm ci | |
- name: check lint | |
run: npm run lint |