File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed
Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 3030 env :
3131 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3232 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
33+
34+ nightly :
35+ runs-on : ubuntu-latest
36+ steps :
37+ - name : Checkout Repository
38+ uses : actions/checkout@v4
39+
40+ - name : Setup
41+ uses : ./.github/actions/setup
42+
43+ - name : Initialize Git user
44+ shell : bash
45+ run : |
46+ git config user.name "github-actions"
47+ git config user.email "mwlawlor@gmail.com"
48+
49+ - name : Setup NPM registry
50+ run : |
51+ npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
52+ env :
53+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
54+
55+ - name : Run nightly release
56+ run : |
57+ yarn release:nightly --ci --dry-run
58+ env :
59+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
60+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 116116 "prepare" : " bob build" ,
117117 "prepublishOnly" : " bob build" ,
118118 "release" : " release-it --config ./.config/release-it.config.ts" ,
119- "release:nightly" : " release-it --config ./.config/release-it.nightly.config.ts 3 .0.0-nightly.\" $(git rev-parse --short HEAD)\" --npm.tag=nightly && git restore :/" ,
119+ "release:nightly" : " release-it --config ./.config/release-it.nightly.config.ts 0 .0.0-nightly.\" $(git rev-parse --short HEAD)\" --npm.tag=nightly && git restore :/" ,
120120 "start" : " yarn example start" ,
121121 "start:build" : " yarn build && yarn example build" ,
122122 "start:debug" : " yarn build && yarn example debug" ,
You can’t perform that action at this time.
0 commit comments