Bump chai-as-promised from 7.1.2 to 8.0.0 #44778
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: Run Frontend Tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
services: | |
postgres: | |
image: postgres:latest | |
env: | |
POSTGRES_PASSWORD: postgres | |
ports: | |
- 5432:5432 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "18" | |
check-latest: true | |
cache: 'yarn' | |
- name: Remove backend code to ensure the proper dependencies are declared in the frontend package.json | |
run: rm -rf apps/backend | |
- name: Install frontend dev dependencies | |
run: yarn frontend install --frozen-lockfile | |
- name: Run frontend tests | |
run: yarn frontend test | |
- name: Ensure the app builds cleanly without backend dependencies | |
run: yarn frontend build |