Skip to content

ci(action): update actions/checkout digest to 1d96c77 (#636) #584

ci(action): update actions/checkout digest to 1d96c77 (#636)

ci(action): update actions/checkout digest to 1d96c77 (#636) #584

Workflow file for this run

name: Release
"on":
push:
branches:
- main
- next
- beta
- "*.x"
# These are recommended by the semantic-release docs: https://github.com/semantic-release/npm#npm-provenance
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
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- run: npm ci
- run: npm run build
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
NPM_TOKEN: ${{ secrets.OCTOKITBOT_NPM_TOKEN }}
- run: npm run docs
- uses: maxheld83/ghpages@master
env:
BUILD_DIR: docs/
GH_PAT: ${{ secrets.OCTOKIT_PAT }}