chore: Add Enhanced API Decomission Notice #733
Workflow file for this run
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: Build Project | |
on: | |
pull_request: | |
branches: [develop, module, release, main] | |
jobs: | |
build: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16.x" | |
- name: Install Nest.js | |
run: npm i -g @nestjs/cli | |
- name: Install dependencies | |
run: npm ci | |
- name: Format and lint check | |
run: | | |
npx turbo run format:check lint:check | |
npm run lint:check | |
npm run format:check | |
- name: Test building a project | |
run: npx turbo build --filter=backend --force | |
# remove --force when we are confident in turbo caching configuration | |
# since it can significantly speed up Action execution | |
- name: Run unit tests | |
run: npm -w backend run test |