Skip to content

Merge pull request #523 from damilaredevone/renovate/eslint-monorepo #1208

Merge pull request #523 from damilaredevone/renovate/eslint-monorepo

Merge pull request #523 from damilaredevone/renovate/eslint-monorepo #1208

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install pnpm
uses: pnpm/[email protected]
- name: Set node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: "pnpm"
- name: Install
run: pnpm i
- name: Lint
run: pnpm run lint
- name: Format
run: pnpm run format
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install pnpm
uses: pnpm/[email protected]
- name: Set node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: "pnpm"
- name: Install
run: pnpm i
- name: Lint
run: pnpm run build
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install pnpm
uses: pnpm/[email protected]
- name: Set node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: "pnpm"
- name: Install
run: pnpm i
- name: Test Cases
run: pnpm run test
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install pnpm
uses: pnpm/[email protected]
- name: Set node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: "pnpm"
- name: Install
run: pnpm i
- name: Build
run: pnpm run build
- name: Typecheck
run: pnpm run typecheck