Skip to content

Update-with-start early return sample #985

Update-with-start early return sample

Update-with-start early return sample #985

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
test-individual:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
node: [ 18, 20, 22 ]
project:
[
activities-examples,
mutex,
nestjs-exchange-rates,
timer-examples
]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
# Comment out cache line when testing with act:
# (Test command is: act --platform ubuntu-latest=lucasalt/act_base:latest)
cache: 'pnpm'
- run: pnpm install
working-directory: ${{ matrix.project }}
- run: npm run build
working-directory: ${{ matrix.project }}
- run: npm test
working-directory: ${{ matrix.project }}
lint-format-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
version: 9
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- run: pnpm install
- run: pnpm lint
- run: pnpm format:check
- run: pnpm build