diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eb1e751..caa3599 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,14 +10,6 @@ on: branches: [main] jobs: - lint: - name: Lint JS - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - name: Lint JS - run: npx --yes oxlint@latest -D perf test: name: Unit tests runs-on: ubuntu-latest @@ -30,7 +22,13 @@ jobs: cache: "npm" - name: Install dependencies run: npm install --ignore-scripts --no-audit - - name: Run unit tests + - name: Unit tests run: npm test - - name: Test types + - name: Check types run: npm run check + - name: Lint JS + run: npx --yes oxlint@latest -D perf + - name: Build package + run: npm run build + - name: "Publint" + run: "npx --yes publint"