Fix puppeteer installation #1119
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: Run tests | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
unit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dorny/paths-filter@v2 | |
id: base_image_should_change | |
with: | |
filters: | | |
src: | |
- package.json | |
- yarn.lock | |
- base.Dockerfile | |
- entrypoint.sh | |
- worker-entrypoint.sh | |
- tsconfig.json | |
- name: Build the docker-compose stack | |
if: steps.base_image_should_change.outputs.src == 'true' | |
run: ./run docker:build | |
- name: Pull latest base image | |
if: steps.base_image_should_change.outputs.src == 'false' | |
run: ./run docker:pull | |
- name: Start app | |
run: ./run start:local | |
- name: Run test suite | |
run: ./run test:unit | |
- name: Run integration test suite | |
run: ./run test:integration |