name: CI on: [pull_request] jobs: lint: runs-on: ubuntu-latest steps: - name: Checkout project uses: actions/checkout@v3 - name: Setup Node.js uses: actions/setup-node@v3 with: node-version: 20 cache: "npm" - name: Install dependencies run: npm ci - name: Run linting run: npm run lint test: runs-on: ubuntu-latest steps: - name: Checkout project uses: actions/checkout@v3 - name: Setup Node.js uses: actions/setup-node@v3 with: node-version: 20 cache: "npm" - name: Install dependencies run: npm ci - name: Run tests run: npm run test:run