Skip to content

fix: pin Scorecard workflow actions to SHA (Scorecard finding) #196

fix: pin Scorecard workflow actions to SHA (Scorecard finding)

fix: pin Scorecard workflow actions to SHA (Scorecard finding) #196

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: true
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm typecheck
- run: pnpm lint
- run: pnpm test
- name: Validate commit messages
if: github.event_name == 'pull_request'
continue-on-error: true
run: |
git fetch --depth=1 origin ${{ github.event.pull_request.base.sha }} 2>/dev/null || true
npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }}