Skip to content

Reduce the GitHub action #24

Reduce the GitHub action

Reduce the GitHub action #24

Workflow file for this run

name: Run unit tests
on:
push:
pull_request:
branches: [main]
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
packages: read
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- uses: actions/setup-node@v3
with:
node-version: 18.17.1
cache: pnpm
- name: Install dependencies
run: pnpm i
- name: Bundle OpenAPI, build and validation
run: pnpm verify
- name: Run unit tests
run: pnpm test