From aeac68f0c0924284a9e9392e8ae8792c63cc90a1 Mon Sep 17 00:00:00 2001 From: tomsq Date: Thu, 15 Aug 2024 11:06:42 +0200 Subject: [PATCH] fix: github action --- .github/workflows/node.js.yml | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 7c4148b..b092b2b 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -11,20 +11,15 @@ on: jobs: build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [16.x, 18.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm install - - run: npm test + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v3 + with: + version: 9.0.6 + - uses: actions/setup-node@v4 + with: + node-version: 20.12.2 + cache: "pnpm" + - run: pnpm install --frozen-lockfile + - run: pnpm test \ No newline at end of file