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
6 changes: 5 additions & 1 deletion .github/workflows/design-library-release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ jobs:
cache: "pnpm"
cache-dependency-path: component-library/pnpm-lock.yaml

- run: |
npm install -g npm@~11.10.0
npm install -g npm@latest # Required for trusted publishing (npm 11.5.1 or later)

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

Expand All @@ -59,4 +63,4 @@ jobs:
- name: Publish `@bcc-code/component-library-vue`
run: |
npm version 0.0.0-dev.${{ steps.vars.outputs.sha_short }} --force --no-git-tag-version
pnpm publish --no-git-checks --tag dev
npm publish --tag dev
8 changes: 5 additions & 3 deletions .github/workflows/design-library-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
cache: "pnpm"
cache-dependency-path: component-library/pnpm-lock.yaml

- run: |
npm install -g npm@~11.10.0
npm install -g npm@latest # Required for trusted publishing (npm 11.5.1 or later)

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

Expand All @@ -51,9 +55,7 @@ jobs:
echo "RELEASE_CHANNEL=$(pnpm --silent run release-channel)" >> $GITHUB_ENV

- name: Publish `@bcc-code/component-library-vue`
run: |
echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc
pnpm publish --no-git-checks --provenance --tag ${{ env.RELEASE_CHANNEL }}
run: npm publish --tag ${{ env.RELEASE_CHANNEL }}

- name: Resolve release metadata from tag
id: release_vars
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/icons-release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
cache: "pnpm"
cache-dependency-path: icons/pnpm-lock.yaml

- run: npm install -g npm@latest # Required for trusted publishing (npm 11.5.1 or later)

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

Expand All @@ -48,10 +50,10 @@ jobs:
- name: Publish `@bcc-code/icons`
run: |
npm version 0.0.0-dev.${{ env.sha_short }} --force --no-git-tag-version
pnpm publish --no-git-checks --tag dev
npm publish --tag dev

- name: Publish `@bcc-code/icons-vue`
working-directory: icons/vue
run: |
npm version 0.0.0-dev.${{ env.sha_short }} --force --no-git-tag-version
pnpm publish --no-git-checks --tag dev
npm publish --tag dev
7 changes: 4 additions & 3 deletions .github/workflows/icons-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
cache: "pnpm"
cache-dependency-path: icons/pnpm-lock.yaml

- run: npm install -g npm@latest # Required for trusted publishing (npm 11.5.1 or later)

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

Expand All @@ -50,8 +52,7 @@ jobs:
echo "channel=$channel" >> "$GITHUB_OUTPUT"

- name: Publish `@bcc-code/icons`
run: pnpm publish --no-git-checks --provenance --tag ${{ steps.release_channel.outputs.channel }}
run: npm publish --tag ${{ steps.release_channel.outputs.channel }}

- name: Publish `@bcc-code/icons-vue`
run: pnpm publish --no-git-checks --provenance --tag ${{ steps.release_channel.outputs.channel }}
working-directory: icons/vue
run: npm publish ./vue --tag ${{ steps.release_channel.outputs.channel }}
Loading