This repository has been archived by the owner on Jul 21, 2024. It is now read-only.
fix: use builder target for testing purpose to generate #70
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
--- | |
on: | |
- push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
COMPOSE_FILE: docker-compose.test.yaml | |
strategy: | |
fail-fast: false | |
matrix: | |
cmd: [lint, type-check] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build images | |
run: docker compose build app | |
- name: ${{ matrix.cmd }} | |
run: docker compose run --no-deps --rm app npm run ${{ matrix.cmd }} |