We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f6fcd94 + 1505476 commit 40642d8Copy full SHA for 40642d8
.github/workflows/main.yml
@@ -15,5 +15,12 @@ jobs:
15
node-version: 22
16
- run: npm ci
17
- run: npm test
18
- # - if: github.ref == 'refs/heads/master'
19
- # run: npm run semantic-release
+ - name: Release to npm registry
+ # only release from the master branch in parent repository, not in a fork
20
+ if: (github.ref == 'refs/heads/master') &&
21
+ (github.repository == 'cypress-io/commit-info')
22
+ # TODO: remove --dry-run after testing and when a real release is needed
23
+ run: npx semantic-release --dry-run
24
+ env:
25
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments