Files
united-workforce/.gitea/workflows/ci.yml
T
xiaoju 8dd63183a4
CI / check (pull_request) Failing after 1m11s
fix: disable pnpm minimumReleaseAge in CI
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).
2026-06-04 10:10:35 +00:00

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