Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ env:
CI_BUILD_NUM: ${{ github.run_id }}
CI_BRANCH: ${{ github.ref_name }}

permissions:
contents: write # semantic-release-dry verifies the write permissions
issues: read # needed by semantic-release
pull-requests: write # needed by semantic-release

jobs:
test:
name: Test
Expand Down
2 changes: 1 addition & 1 deletion .releaserc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
}],
['@semantic-release/exec', {
prepareCmd: 'npm run deploy:ci && npm run test:postdeploy',
publishCmd: 'npm run deploy:stage',
publishCmd: 'npm run deploy:prod',
successCmd: 'echo "${nextRelease.version}" > released.txt',
}],
'@semantic-release/github',
Expand Down