diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 28b18c9..1881f8a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -20,15 +20,18 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + with: + version: 8 - name: Use Node.js 18 uses: actions/setup-node@v3 with: node-version: 18 - cache: 'npm' - cache-dependency-path: '**/package-lock.json' + cache: 'pnpm' + cache-dependency-path: '**/pnpm-lock.yaml' - name: Install - run: npm ci + run: pnpm i - name: Build - run: npm run build --if-present + run: pnpm build - name: Tests - run: npm test + run: pnpm test