Merge pull request #314 from PrestaShop/dependabot/npm_and_yarn/tests… #1203
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', '20' ] | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-versions }} | |
- run: npm install | |
- name: Lint | |
run: npm run lint |