name: Code Coverage on: push: branches: ["master"] pull_request: jobs: coverage: name: Codecov runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 20 - name: Installing dependencies run: npm install - name: Lint run: npm run lint - name: Running test run: npm run test - name: Upload to Codecov uses: codecov/codecov-action@v4