File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Release from Prerelease"
2+
3+ on : workflow_dispatch
4+
5+ permissions :
6+ contents : write
7+ id-token : write
8+
9+ jobs :
10+ deploy-npm-latest-from-pre :
11+ runs-on : macos-14
12+ timeout-minutes : 30
13+ steps :
14+ - uses : actions/checkout@v3
15+ with :
16+ fetch-depth : 0
17+ token : ${{ secrets.CAP_GH_RELEASE_TOKEN }}
18+
19+ - name : ' Setup Tools'
20+ uses : ./.github/actions/setup-tools
21+
22+ - name : " NPM Identity"
23+ run : |
24+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
25+ npm whoami
26+
27+ - name : " Git Config"
28+ run : |
29+ git config user.name "Github Workflow (on behalf of ${{ github.actor }})"
30+ git config user.email "users.noreply.github.com"
31+
32+ - name : Version & Publish
33+ env :
34+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
35+ GH_TOKEN : ${{ secrets.CAP_GH_RELEASE_TOKEN }}
36+ run : |
37+ pnpm run ci:publish:latest-from-pre
You can’t perform that action at this time.
0 commit comments