From 5895189d072a188bb93c2f22f1a583fce9441466 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Sun, 24 Nov 2024 11:40:34 -0500 Subject: [PATCH] Update actions --- .github/workflows/nodejs.yml | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index c2e6bda..b5f318f 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -1,7 +1,27 @@ -name: Node CI - -on: [push] +name: Test +on: + push: jobs: - test: - uses: "placemark/workflows/.github/workflows/vitest.yml@v3" + build: + runs-on: ubuntu-22.04 + strategy: + matrix: + node-version: [22] + steps: + - uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + - name: Lint + run: pnpm lint + - name: Lint + run: pnpm test