Skip to content

chore: synced file(s) with cds-snc/site-reliability-engineering #891

chore: synced file(s) with cds-snc/site-reliability-engineering

chore: synced file(s) with cds-snc/site-reliability-engineering #891

Workflow file for this run

name: Format, lint and test
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: "22.5.1"
- name: PNPM update to v9.15.5
run: npm i -g corepack@latest && corepack enable pnpm && corepack use pnpm@9.15.5
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Format
run: pnpm format:check
- name: Lint:report
continue-on-error: true
run: pnpm lint:github
- name: Lint
run: pnpm lint:check
- name: Test
run: pnpm test