diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 598e3b3..7675e15 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,16 +20,22 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] steps: + - name: Checkout master - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v2.4.0 + - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - cache: 'npm' node-version: ${{ matrix.node-version }} - # Use separate run commands so command status handled correctly on Windows - - name: npm install - run: npm ci - - name: npm test - run: npm test - - name: npm run lint - run: npm run lint + cache: 'pnpm' + + - name: Install Dependencies + run: pnpm i + + - name: Test + run: pnpm test + + - name: Clean + run: pnpm clean