Merge pull request #909 from PrestaShop/dependabot/npm_and_yarn/dev/b… #2693
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: JS tests | |
on: [push, pull_request] | |
jobs: | |
js-linter: | |
name: JS linter | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-versions: [ '14', '16' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-versions }} | |
- run: npm install | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm run test |