This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
chore(deps): update typescript-eslint monorepo to v7 (major) - autoclosed #3041
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: ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: corepack enable | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn | |
- name: Lint project | |
run: yarn lint | |
e2e: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
test: | |
- e2e-generated | |
- e2e-globals | |
- e2e-ssr | |
runs-on: "${{ matrix.os }}" | |
steps: | |
- uses: actions/checkout@v3 | |
- run: corepack enable | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn | |
- name: Build project | |
run: yarn build | |
- name: Test project | |
run: yarn test:${{ matrix.test }} | |
env: | |
TEST_BUILT_MODULE: true | |
unit: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
runs-on: "${{ matrix.os }}" | |
steps: | |
- uses: actions/checkout@v3 | |
- run: corepack enable | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn | |
- name: Build project | |
run: yarn build | |
- name: Test types | |
run: yarn test:types | |
- name: Unit tests | |
run: yarn test:unit |