Fixed up continuous play and started work on reimplementing playing i… #1857
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: on-push | |
on: | |
push: | |
branches: | |
- '**' | |
- '!**.no-actions' | |
# parallel jobs | |
jobs: | |
test-jasmine: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- run: npm i --prefix ngapp | |
- run: npm run --prefix ngapp test:ci | |
test-cypress: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: supercharge/[email protected] | |
with: | |
mongodb-version: 3.6 | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- run: sudo apt-get install -y parallel | |
- run: npm -v | |
- run: npx --prefix ngapp node -v | |
- run: "parallel npm i --prefix ::: api ngapp" | |
- run: npm run --prefix api build || echo build had problems | |
- run: mongod & | |
- run: mongod_pid=$! | |
- run: mv ./api/.env.example ./api/.env | |
- run: FUDGE=1 AWS_SES_DISABLE=1 npm run --prefix api start & | |
- run: backend_pid=$! | |
- run: npm run --prefix ngapp e2e | |
test-backend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: supercharge/[email protected] | |
with: | |
mongodb-version: 3.6 | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- run: mv ./api/.env.example ./api/.env | |
- run: npm install --prefix api | |
- run: npm run --prefix api build || echo build had problems | |
- run: NO_EMAILS=1 npm run test --prefix api |