chore(deps): update typescript-eslint monorepo to v8 (major) #806
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 that shows up in the badge | |
name: Backend | |
# Trigger workflow on pushes and pull requests to all branches | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
# This job is to test whether npm dependencies are installable, so we use | |
# `npm install`, which also installs devDependencies. | |
name: Build | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
cache-dependency-path: backend/package-lock.json | |
- run: npm install -g npm@9; cd backend; npm install | |
format: | |
runs-on: ubuntu-22.04 | |
# This job is to check the formatting with prettier, so we install exact | |
# dependencies from package-lock.json with `npm ci`. | |
name: Prettier format check | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
cache-dependency-path: backend/package-lock.json | |
- run: npm install -g npm@9; cd backend; npm ci; npm run format:check |