ci(release): use installation access token to checkout and push back changes (#26)
Some checks failed
test / test (push) Has been cancelled

This commit is contained in:
Gregor Martynus
2023-08-23 10:57:42 -07:00
committed by GitHub
parent b287cb86e2
commit 27ab48741c

View File

@@ -14,18 +14,14 @@ jobs:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: npm
node-version: lts/*
- run: npm ci
- run: npm run build
- uses: ./ # Uses the action in the root directory
- uses: actions/create-github-app-token@v1
id: app-token
with:
app_id: ${{ vars.RELEASER_APP_ID }}
private_key: ${{ secrets.RELEASER_APP_PRIVATE_KEY }}
- uses: actions/checkout@v3
with:
token: ${{ steps.app-token.outputs.token }}
- run: npm install --no-save @semantic-release/git semantic-release-plugin-github-breaking-version-tag
- run: npx semantic-release
env: