Skip to content

Commit bf61c16

Browse files
authored
ci(NODE-5340): add workflow dispatch and dry-run flag (#3707)
1 parent 008fd6f commit bf61c16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release-nightly.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
# https://crontab.guru/#0_0_*_*_*
55
# At 00:00 every day.
66
- cron: '0 0 * * *'
7+
workflow_dispatch: {}
8+
79

810
name: release-nightly
911

@@ -25,6 +27,6 @@ jobs:
2527
- run: npm run build:nightly
2628
continue-on-error: true
2729
- if: ${{ success() }}
28-
run: npm publish --provenance --tag=nightly
30+
run: npm publish --dry-run --provenance --tag=nightly
2931
env:
3032
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)