diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index a4569e3..48d1b28 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -9,18 +9,24 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - node-version: [16.x, 18.x] + node-version: [18.x, 20.x] + runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} + - uses: pnpm/action-setup@v2 + - name: Install Dependencies run: pnpm install + - name: Build run: pnpm build + - name: Test run: pnpm test