Skip to content

build(deps-dev): bump @swc/core from 1.7.26 to 1.7.28 in /nestjs-demo… #120

build(deps-dev): bump @swc/core from 1.7.26 to 1.7.28 in /nestjs-demo…

build(deps-dev): bump @swc/core from 1.7.26 to 1.7.28 in /nestjs-demo… #120

Workflow file for this run

name: CI
on:
workflow_dispatch: {}
pull_request: {}
push:
branches:
- main
# When a new revision is pushed to a PR, cancel all in-progress CI runs for that
# PR. See https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
examples:
name: build examples
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
pkg:
- opa-react-demo
- nestjs-demo
steps:
- name: Check out code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 22
- name: build and start
run: docker compose up --build -d
working-directory: ${{ matrix.pkg }}
- name: integration tests
run: docker compose run --quiet-pull integration-tests
working-directory: ${{ matrix.pkg }}
if: matrix.pkg == 'nestjs-demo'
- name: dump logs
run: docker compose logs
if: failure()
working-directory: ${{ matrix.pkg }}
- name: build and start
run: docker compose down
working-directory: ${{ matrix.pkg }}