Merge pull request #45 from AckeeCZ/chore/drop-node-12-14-support #10
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: Lint | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint: | |
strategy: | |
matrix: | |
node-version: [16, 18, 20, 22] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm i --ignore-scripts | |
- name: Run tests | |
run: npm run cs:eslint:check | |
- name: Run tests | |
run: npm run cs:prettier:check |