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 types :
77 - created
88
9+ permissions :
10+ id-token : write
11+ contents : write
12+
913concurrency : ${{ github.workflow }}-${{ github.ref }}
1014
1115jobs :
2832 node-version : ' 22'
2933 cache : ' pnpm'
3034
35+ - name : Check and upgrade npm
36+ run : |
37+ echo "Current npm version:"
38+ npm --version
39+ npm install -g npm@latest
40+ echo "Upgraded npm version:"
41+ npm --version
42+
3143 - name : Install Dependencies
3244 run : pnpm install --frozen-lockfile
3345
3951 with :
4052 github_token : ${{ secrets.ACTION_TOKEN }} # Add user PAT if necessary
4153 npm_tag : canary # Specify the npm tag to use for deployment
42- npm_token : ${{ secrets.NPM_TOKEN }} # Provide the token required for npm publishing
4354 publish_script : pnpm run release:canary # Script to execute Canary deployment
4455 packages_dir : packages # Directory of packages to detect changes (default: packages,share)
4556 excludes : ' .turbo,.github' # Files or directories to exclude from change detection
Original file line number Diff line number Diff line change 99concurrency : ${{ github.workflow }}-${{ github.ref }}
1010
1111permissions :
12+ id-token : write
1213 contents : write # to create release
1314
1415jobs :
3435 node-version : ' 22'
3536 cache : ' pnpm'
3637
38+ - name : Check and upgrade npm
39+ run : |
40+ echo "Current npm version:"
41+ npm --version
42+ npm install -g npm@latest
43+ echo "Upgraded npm version:"
44+ npm --version
45+
3746 - name : Install Dependencies
3847 run : pnpm install --frozen-lockfile
3948
4554 with :
4655 github_token : ${{ secrets.ACTION_TOKEN }} # Add user PAT if necessary
4756 npm_tag : rc # Specify the npm tag to use for deployment
48- npm_token : ${{ secrets.NPM_TOKEN }} # Provide the token required for npm publishing
4957 publish_script : pnpm run release:canary # Script to execute Canary deployment
5058 packages_dir : packages # Directory of packages to detect changes (default: packages,share)
5159 excludes : ' .turbo,.github' # Files or directories to exclude from change detection
You can’t perform that action at this time.
0 commit comments