Skip to content

ci: bump the github-actions group with 5 updates #324

ci: bump the github-actions group with 5 updates

ci: bump the github-actions group with 5 updates #324

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
- next
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
with:
egress-policy: audit
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Shared setup
uses: ./.github/actions/setup
- run: pnpm run lint
test:
runs-on: ubuntu-latest
name: Test
strategy:
matrix:
node: [20, 22, 24]
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
with:
egress-policy: audit
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Shared setup
uses: ./.github/actions/setup
- run: pnpm run build
- run: pnpm run build-fixtures
- run: pnpm run test
publish:
needs: [lint, test]
if: contains('refs/heads/main OR refs/heads/next', github.ref)
runs-on: ubuntu-latest
name: Publish
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
strategy:
matrix:
node: [22]
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 0
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
with:
egress-policy: audit
- name: Shared setup
uses: ./.github/actions/setup
- run: pnpm run build
- run: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}