diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 67cb50b..80987be 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,19 +16,22 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 + - uses: pnpm/action-setup@v4 + with: + version: 8 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm run build --if-present - - run: npm test - - run: npm run test:coverage + - name: Install dependencies + - run: pnpm install --frozen-lockfile + - run: pnpm run build --if-present + - run: pnpm test + - run: pnpm run test:coverage - name: Codecov uses: codecov/codecov-action@v2 with: