Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
types:
- created

permissions:
id-token: write
contents: write

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
Expand All @@ -28,6 +32,14 @@ jobs:
node-version: '22'
cache: 'pnpm'

- name: Check and upgrade npm
run: |
echo "Current npm version:"
npm --version
npm install -g npm@latest
echo "Upgraded npm version:"
npm --version

- name: Install Dependencies
run: pnpm install --frozen-lockfile

Expand All @@ -39,7 +51,6 @@ jobs:
with:
github_token: ${{ secrets.ACTION_TOKEN }} # Add user PAT if necessary
npm_tag: canary # Specify the npm tag to use for deployment
npm_token: ${{ secrets.NPM_TOKEN }} # Provide the token required for npm publishing
publish_script: pnpm run release:canary # Script to execute Canary deployment
packages_dir: packages # Directory of packages to detect changes (default: packages,share)
excludes: '.turbo,.github' # Files or directories to exclude from change detection
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions:
id-token: write
contents: write # to create release

jobs:
Expand All @@ -34,6 +35,14 @@ jobs:
node-version: '22'
cache: 'pnpm'

- name: Check and upgrade npm
run: |
echo "Current npm version:"
npm --version
npm install -g npm@latest
echo "Upgraded npm version:"
npm --version

- name: Install Dependencies
run: pnpm install --frozen-lockfile

Expand All @@ -45,7 +54,6 @@ jobs:
with:
github_token: ${{ secrets.ACTION_TOKEN }} # Add user PAT if necessary
npm_tag: rc # Specify the npm tag to use for deployment
npm_token: ${{ secrets.NPM_TOKEN }} # Provide the token required for npm publishing
publish_script: pnpm run release:canary # Script to execute Canary deployment
packages_dir: packages # Directory of packages to detect changes (default: packages,share)
excludes: '.turbo,.github' # Files or directories to exclude from change detection
Expand Down