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