Skip to content
Merged
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
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
release:
runs-on: ubuntu-latest
environment: Production
permissions:
contents: write
id-token: write
Expand All @@ -20,10 +21,15 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.CHANGESETS_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

- uses: ./.github/actions/setup

- name: Upgrade npm for OIDC
run: npm i -g npm@^11.5.1

- run: npm config set registry https://registry.npmjs.org

- name: Build
run: yarn run build

Expand All @@ -34,5 +40,4 @@ jobs:
version: yarn run version
publish: yarn run changeset publish
env:
GITHUB_TOKEN: ${{ secrets.CHANGESETS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading