Skip to content

Commit 6d4210d

Browse files
Use pnpm step, rearrange changeset action (#41)
1 parent 1dc09f7 commit 6d4210d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/changesets.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,16 @@ jobs:
2323
scope: "@arizeai"
2424
env:
2525
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
26-
- name: install pnpm
27-
run: npm i pnpm@latest -g
28-
- name: Setup npmrc
29-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
26+
- name: Setup PNPM
27+
uses: pnpm/action-setup@v4
28+
with:
29+
version: 9.8.0
3030
- name: setup pnpm config
3131
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
3232
- name: install dependencies
3333
run: pnpm install
34+
- name: Setup npmrc
35+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
3436
- name: create and publish versions
3537
uses: changesets/action@v1
3638
with:

0 commit comments

Comments
 (0)