From 1934666d29263673fe8002d4f852d1f7a258f218 Mon Sep 17 00:00:00 2001 From: MichaelSwigerAtBentley <108895074+MichaelSwigerAtBentley@users.noreply.github.com> Date: Tue, 29 Oct 2024 16:47:07 -0500 Subject: [PATCH] Update pnpm install action (#267) --- .github/workflows/ci.yaml | 6 +++--- .github/workflows/create-release.yaml | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6bec5277..3108d15e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -30,12 +30,12 @@ jobs: - name: Setup node uses: actions/setup-node@v2 with: - node-version: '18.12.0' + node-version: "18.12.0" - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: - version: 8 + version: latest - name: Install packages run: pnpm install diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 04acaa66..d032b26a 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -2,8 +2,7 @@ name: Create Release -on: - workflow_dispatch +on: workflow_dispatch jobs: release-packages: @@ -17,9 +16,9 @@ jobs: token: ${{ secrets.IMJS_ADMIN_GH_TOKEN }} - name: Install pnpm - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v4 with: - version: 8 + version: latest - name: Use Node.js 18 uses: actions/setup-node@v3 @@ -39,4 +38,4 @@ jobs: git config --local user.name imodeljs-admin pnpm publish-packages -y --branch ${{ github.ref_name }} --message "Version bump [skip actions][publish docs]" env: - NODE_AUTH_TOKEN: ${{ secrets.NPMJS_PUBLISH_ITWIN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPMJS_PUBLISH_ITWIN }}