8dd63183a4
CI / check (pull_request) Failing after 1m11s
pnpm 11 enables supply-chain policy by default, blocking our recently-published packages. Echo minimum-release-age=0 into .npmrc at CI time (local .npmrc is gitignored for auth tokens).
29 lines
479 B
YAML
29 lines
479 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: ['*']
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
|
|
- run: corepack enable && echo 'minimum-release-age=0' > .npmrc && pnpm install
|
|
|
|
- name: Build
|
|
run: pnpm run build
|
|
|
|
- name: Lint
|
|
run: pnpm run check
|
|
|
|
- name: Test
|
|
run: pnpm run test:ci
|