diff --git a/.github/workflows/plan-release.yml b/.github/workflows/plan-release.yml index 6cbde29682..fd595fb77b 100644 --- a/.github/workflows/plan-release.yml +++ b/.github/workflows/plan-release.yml @@ -52,13 +52,10 @@ jobs: with: fetch-depth: 0 ref: 'main' - - uses: actions/setup-node@v4 + - uses: wyvox/action-setup-pnpm@v3 with: - node-version: 18 - - uses: pnpm/action-setup@v4 - with: - version: 8.5 - - run: pnpm install --frozen-lockfile + node-version: 20.1.0 + - name: "Generate Explanation and Prep Changelogs" id: explanation run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 832e403ba3..2064f7c1ce 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,15 +44,19 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + + - name: 'Setup local TurboRepo server' + uses: felixmosh/turborepo-gh-artifacts@v2 with: - node-version: 18 - # This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable - registry-url: 'https://registry.npmjs.org' - - uses: pnpm/action-setup@v4 + repo-token: ${{ secrets.GITHUB_TOKEN }} + + - uses: wyvox/action-setup-pnpm@v3 with: - version: 8.5.0 - - run: pnpm install --frozen-lockfile + node-version: 20.1.0 + # This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable + node-registry-url: 'https://registry.npmjs.org' + + - name: npm publish run: pnpm release-plan publish env: