β¬οΈ Update dependency eslint to v9 #4677
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: π§ͺ App build, lint and tests | |
on: [push, pull_request] | |
jobs: | |
build-app: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [16] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: π Checkout | |
uses: actions/checkout@v4 | |
- name: π Setup node env & π Yarn install cache | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- name: π¨π»βπ» Install dependencies | |
run: yarn | |
- name: π₯» Build l'API | |
run: yarn build | |
tests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [16] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: π Checkout | |
uses: actions/checkout@v4 | |
- name: π Setup node env & π Yarn install cache | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- name: π¨π»βπ» Install dependencies | |
run: yarn | |
# - name: π§ͺ Run tests | |
# run: yarn test | |
lint: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [16] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: π Checkout | |
uses: actions/checkout@v4 | |
- name: π Setup node env & π Yarn install cache | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- name: π¨π»βπ» Install dependencies | |
run: yarn | |
- name: π Run linter | |
run: yarn lint |