From f2a5f5492d722209be9f671ae2d7ca5aff662228 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Fri, 15 Sep 2023 14:38:15 +0000 Subject: [PATCH 1/2] fix inconsistency with pnpm lockfile --- .github/workflows/trigger_release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/trigger_release.yml b/.github/workflows/trigger_release.yml index acb6dfa89b707..39dfd343bc672 100644 --- a/.github/workflows/trigger_release.yml +++ b/.github/workflows/trigger_release.yml @@ -56,6 +56,9 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off + - name: update pnpm + run: pnpm i -g pnpm + - id: get-store-path run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT From 4f4ebf869aa17845adc2b7e622509284983749da Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Mon, 18 Sep 2023 06:17:03 +0000 Subject: [PATCH 2/2] move corepack enable to get repo version --- .github/workflows/trigger_release.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/trigger_release.yml b/.github/workflows/trigger_release.yml index 39dfd343bc672..b79df5057f19b 100644 --- a/.github/workflows/trigger_release.yml +++ b/.github/workflows/trigger_release.yml @@ -42,11 +42,9 @@ jobs: steps: - name: Setup node uses: actions/setup-node@v3 - if: ${{ steps.docs-change.outputs.docsChange == 'nope' }} with: node-version: 18 check-latest: true - - run: corepack enable - run: git clone https://github.com/vercel/next.js.git --depth=25 . @@ -56,8 +54,7 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - name: update pnpm - run: pnpm i -g pnpm + - run: corepack enable && pnpm --version - id: get-store-path run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT