Skip to content

chore(deps): update yarn to v4.5.1 (#1047) #3663

chore(deps): update yarn to v4.5.1 (#1047)

chore(deps): update yarn to v4.5.1 (#1047) #3663

Workflow file for this run

name: Push CI
on: [push]
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- 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: 20
- 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: 20
- 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: [18, 20]
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@v4
if: matrix.node-version == 18
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}