Skip to content

ci(action): update actions/checkout action to v4 #236

ci(action): update actions/checkout action to v4

ci(action): update actions/checkout action to v4 #236

Workflow file for this run

"on":
push:
branches:
- main
name: release
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@v3
with:
node-version: lts/*
cache: npm
- run: npm ci
- run: npm run build
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
- run: >-
git push
https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
HEAD:refs/heads/v2.x
env:
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}