build(deps): bump the npm_and_yarn group group with 3 updates #269
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: Test | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
name: E2E | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: Checkout the code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build the app | |
run: | | |
npm run build-data | |
NODE_ENV=production npm run build:modern | |
- name: Run Cypress tests | |
uses: cypress-io/github-action@v6 | |
env: | |
NODE_ENV: production | |
with: | |
install: false | |
start: npm start | |
wait-on: "http://localhost:3000" |