diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index f31cca8..e132708 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -61,25 +61,25 @@ jobs: steps: - uses: actions/checkout@v3 - - - name: Increase patch and commit - run: | - git config --global user.name 'GitHub Action' - git config --global user.email 'action@github' - pnpm version patch - - - name: Push Commit - run: git push --follow-tags - uses: pnpm/action-setup@v2 with: version: latest - + - name: Setup Node.js 20 environment uses: actions/setup-node@v3 with: node-version: 20 cache: 'pnpm' + + - name: Increase patch and commit + run: | + git config --global user.name 'GitHub Action' + git config --global user.email 'action@github' + pnpm version patch + + - name: Push Commit + run: git push --follow-tags - name: Install dependencies run: pnpm install --no-frozen-lockfile