diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 452ed18..f6354b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,27 +1,28 @@ -name: Run Unit Tests +name: Run unit tests on: + workflow_dispatch: push: branches: [master] pull_request: branches: [master] - workflow_dispatch: - jobs: test: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: "22" - - name: Setup Node - uses: actions/setup-node@v2 + - uses: pnpm/action-setup@v4 with: - node-version: "16" + version: "9" - - name: Install deps and build - run: npm ci + - name: Install dependencies + run: pnpm i - name: Test - run: npm test + run: pnpm test