diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09c9e51..4ae4ad5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,25 +9,12 @@ on: jobs: test: runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: '18' - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Run linting - run: npm run lint - - - name: Run type checking - run: npm run typecheck - - - name: Run tests - run: npm test + - run: npm ci + - run: npm run lint + - run: npm run typecheck + - run: npm test