From 6d4210d3cf976779bf1f6468ab70d0f8eac03682 Mon Sep 17 00:00:00 2001 From: Anthony Powell Date: Mon, 30 Dec 2024 12:38:42 -0500 Subject: [PATCH] Use pnpm step, rearrange changeset action (#41) --- .github/workflows/changesets.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/changesets.yml b/.github/workflows/changesets.yml index e8b0627f..ba9ee5ce 100644 --- a/.github/workflows/changesets.yml +++ b/.github/workflows/changesets.yml @@ -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: