feat: introduce --quiet cli argument #12
Workflow file for this run
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: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup pnpm | |
run: corepack enable && corepack prepare | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install | |
run: pnpm install --frozen-lockfile | |
- name: Lint | |
run: pnpm lint | |
type-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup pnpm | |
run: corepack enable && corepack prepare | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install | |
run: pnpm install --frozen-lockfile | |
- name: Typecheck | |
run: pnpm type-check | |
test: | |
runs-on: ${{ matrix.os }} | |
needs: [lint, type-check] | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [16, 20] | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup pnpm | |
run: corepack enable && corepack prepare | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install | |
run: pnpm install --frozen-lockfile | |
- name: Test | |
run: pnpm test |