chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#1087) #3755
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: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Checks | |
run: yarn run checks | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Build | |
run: yarn run build | |
- name: Check nothing was forgotten before commit | |
run: yarn run repository-check-dirty | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Prettier | |
run: yarn run lint:prettier | |
- name: Typescript | |
run: yarn run tsc | |
- name: Eslint | |
run: yarn run lint:eslint | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20, 22] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Test | |
run: yarn run test | |
if: matrix.node-version != 18 | |
- name: Generate Test Coverage | |
run: yarn run test:coverage:json | |
if: matrix.node-version == 18 | |
env: | |
CI: true | |
- name: Send results to codecov | |
uses: codecov/codecov-action@v5 | |
if: matrix.node-version == 18 | |
with: | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} |