Merge pull request #560 from PrestaShopCorp/SC-39_active-multishop #3104
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] | |
env: | |
NODE_VERSION: 20 | |
jobs: | |
js-linter: | |
name: JS linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: npm | |
cache-dependency-path: '_dev/package-lock.json' | |
- name: Lint JS files | |
working-directory: _dev | |
run: | | |
npm install | |
npm run lint |