Skip to content

Commit

Permalink
Use pnpm step, rearrange changeset action (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
cephalization authored Dec 30, 2024
1 parent 1dc09f7 commit 6d4210d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@ jobs:
scope: "@arizeai"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: install pnpm
run: npm i pnpm@latest -g
- name: Setup npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- name: Setup PNPM
uses: pnpm/action-setup@v4
with:
version: 9.8.0
- name: setup pnpm config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: install dependencies
run: pnpm install
- name: Setup npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- name: create and publish versions
uses: changesets/action@v1
with:
Expand Down

0 comments on commit 6d4210d

Please sign in to comment.