diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 319de39..9fe4aa7 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -11,6 +11,13 @@ jobs: - uses: pnpm/action-setup@v3 with: version: 8 + + - name: Setup Node.js environment + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'pnpm' + - run: pnpm i - run: pnpm run all env: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f04ed13..1f73b05 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,10 +15,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: pnpm/action-setup@v3 with: version: 8 + + - name: Setup Node.js environment + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'pnpm' + - run: pnpm i - name: Create Release Pull Request or Publish id: changesets