ci: remove NODE_V8_COVERAGE #408
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
registry-url: "https://registry.npmjs.org" | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Checks | |
run: yarn run checks | |
- name: Prettier | |
run: yarn run lint:prettier | |
if: startsWith(matrix.node-version, '20.') | |
- name: Eslint | |
run: yarn run lint:eslint | |
if: startsWith(matrix.node-version, '20.') | |
- name: Generate Test Coverage | |
run: yarn run test:coverage:json | |
if: startsWith(matrix.node-version, '20.') | |
env: | |
CI: true | |
- name: Send results to codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
if: startsWith(matrix.node-version, '20.') | |
- name: Check nothing was forgotten before commit | |
if: startsWith(matrix.node-version, '20.') | |
run: yarn run repository-check-dirty |