File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - main
77 types : [closed]
88
9+ env :
10+ CI : true
11+ DEPLOYMENT_APP_ID : 957224
12+
913permissions :
14+ id-token : write # Required for OIDC
1015 contents : read
1116
1217jobs :
1621 runs-on : ubuntu-latest
1722 if : github.event.pull_request.merged
1823 steps :
24+ - name : Authenticate with GitHub App
25+ uses : actions/create-github-app-token@v1
26+ id : app-token
27+ with :
28+ app-id : ${{ env.DEPLOYMENT_APP_ID }}
29+ private-key : ${{ secrets.DEPLOYMENT_APP_PRIVATE_KEY }}
1930 - name : Checkout Git repository
2031 uses : actions/checkout@v4
2132 - name : Install pnpm
@@ -40,14 +51,17 @@ jobs:
4051 id : create_release
4152 uses : actions/create-release@latest
4253 env :
43- GITHUB_TOKEN : ${{ github .token }}
54+ GITHUB_TOKEN : ${{ steps.app-token.outputs .token }}
4455 with :
4556 commitish : ${{ github.ref }}
4657 tag_name : ${{ steps.version.outputs.VERSION }}
4758 release_name : ${{ steps.version.outputs.VERSION }}
4859 draft : false
4960 prerelease : false
61+ # Ensure npm 11.5.1 or later is installed - required for OIDC
62+ - name : Update npm
63+ run : npm install -g npm@latest
5064 - name : Publish package
51- run : pnpm run publish
52- env :
53- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
65+ run : |
66+ cd packages/cli
67+ npm run publish
Original file line number Diff line number Diff line change 44/packages /* /vitest.config.mts.timestamp- * .mjs
55/coverage /
66/docs /
7- ** /_temp /** /*
7+ ** /_temp /** /*
8+ .idea
You can’t perform that action at this time.
0 commit comments