From ab48c133c79a7a861fb556b183252e9307d226ad Mon Sep 17 00:00:00 2001 From: Magdiel Campelo Date: Sun, 26 May 2024 14:38:05 +0100 Subject: [PATCH] ci: :green_heart: setup pnpm --- .github/workflows/coveralls.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 5ab352e..be4b514 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -13,17 +13,29 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 - - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v3 + with: + version: 9 + + - name: Set up NodeJS + uses: actions/setup-node@v4 with: node-version: 20 - registry-url: "https://registry.npmjs.org" + cache: 'pnpm' + - name: Install dependencies run: pnpm install + - name: Install dependencies run: pnpm build + - name: Test run: pnpm test:coverage + + - name: Test + run: pnpm test:coverage + - name: Coveralls GitHub Action uses: coverallsapp/github-action@v2.3.0