fix(deps): update nest monorepo #786
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: Frontend | |
# 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: '16' | |
cache: 'npm' | |
cache-dependency-path: frontend/package-lock.json | |
# we need to force because @agm/core wants an older Angular | |
- run: npm install -g npm@8; cd frontend; npm install --force | |
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: '16' | |
cache: 'npm' | |
cache-dependency-path: frontend/package-lock.json | |
- run: npm install -g npm@8; cd frontend; npm ci --force; npm run format:check |