Skip to content

build(deps): bump pnpm/action-setup from 5 to 6 #7

build(deps): bump pnpm/action-setup from 5 to 6

build(deps): bump pnpm/action-setup from 5 to 6 #7

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: write
id-token: write
issues: write
pull-requests: write
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v6
with:
node-version-file: .tool-versions
- run: pnpm install --frozen-lockfile
- run: pnpm run lint
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v6
with:
node-version-file: .tool-versions
- run: pnpm install --frozen-lockfile
- run: pnpm run typecheck
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v6
with:
node-version-file: .tool-versions
- run: pnpm install --frozen-lockfile
- run: pnpm run build
- run: pnpm test
release:
name: Release
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs: [lint, typecheck, test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
persist-credentials: false
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v6
with:
node-version-file: .tool-versions
# Do NOT set registry-url — it creates an .npmrc that overrides OIDC
- run: pnpm install --frozen-lockfile
- run: pnpm run build
- run: pnpm exec semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}