Bump express from 4.17.1 to 4.21.0 in /client #62
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: Testing | |
on: [push] | |
jobs: | |
build: | |
name: "Frontend tests" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Create .env file | |
if: always() | |
run: | | |
cd client | |
touch .env | |
echo SKIP_PREFLIGHT_CHECK=true >> .env | |
echo CI=true >> .env | |
cat .env | |
- name: install node dependencies | |
if: always() | |
run: cd client; yarn install | |
- name: Run all tests | |
env: | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | |
if: always() | |
run: cd client; yarn firebase emulators:exec "yarn test --detectOpenHandles" | |
- name: Notify on failure | |
if: failure() | |
run: echo 'Some tests in this test suite do not pass' |