Skip to content

Commit 41239ba

Browse files
committed
chore(deps): reconfigure semantic-release
update to semantic-release 24.2.7
1 parent f6fcd94 commit 41239ba

File tree

3 files changed

+12758
-16828
lines changed

3 files changed

+12758
-16828
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,11 @@ jobs:
1515
node-version: 22
1616
- run: npm ci
1717
- run: npm test
18-
# - if: github.ref == 'refs/heads/master'
19-
# run: npm run semantic-release
18+
- name: Release to npm registry
19+
# 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+
run: npx semantic-release
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)