From f81f9f19c5d011e5e6333e50db93c8af9046ab7b Mon Sep 17 00:00:00 2001 From: Robbie Date: Thu, 25 Jan 2024 10:37:24 -0700 Subject: [PATCH] chore: update actions --- .github/workflows/node.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index a71b373..55cf988 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -7,7 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: pnpm i --ignore-scripts + - uses: pnpm/action-setup@v2 + with: + version: 8 + run_install: true - run: pnpm run lint:js - run: pnpm run lint:prettier @@ -22,7 +25,10 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: pnpm i --ignore-scripts + - uses: pnpm/action-setup@v2 + with: + version: 8 + run_install: true - run: pnpm run test coverage: @@ -30,7 +36,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: pnpm i --ignore-scripts + - uses: pnpm/action-setup@v2 + with: + version: 8 + run_install: true - run: pnpm run test:coverage - uses: codecov/codecov-action@v3 @@ -43,7 +52,10 @@ jobs: with: fetch-depth: 0 persist-credentials: false - - run: pnpm i --ignore-scripts + - uses: pnpm/action-setup@v2 + with: + version: 8 + run_install: true - run: pnpm run semantic-release env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}