Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: JS tests
on: [push, pull_request]
jobs:
js-linter:
name: JS linter
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]

- name: lint js dependencies
uses: PrestaShopCorp/github-action-lint-js/14@master
with:
cmd: yarn
path: .
js-linter:
name: JS linter
runs-on: ubuntu-latest
strategy:
matrix:
node-versions: [ '14', '16' ]
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