Skip to content

ci: revert "fix npm OIDC 404 error when publishing" wait official fix… #29

ci: revert "fix npm OIDC 404 error when publishing" wait official fix…

ci: revert "fix npm OIDC 404 error when publishing" wait official fix… #29

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
lint_and_typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
- run: pnpm i
- run: pnpm run lint
- run: pnpm run type:check
test_node_matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [26, 24, 22, 20]
fail-fast: false
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
- run: pnpm runtime set node ${{ matrix.node-version }}
- run: pnpm i
- run: pnpm run test:coverage
- uses: codecov/codecov-action@v7
if: matrix.node-version == 26
with:
token: ${{ secrets.CODECOV_TOKEN }}
publish_preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
- run: pnpm i
- run: pnpm --filter='./packages/*' run -r build
- run: pnpm exec pkg-pr-new publish './packages/*' --pnpm --compact