fix(ci/lint): indentation was wrong
- correcting the indentation (yml de mort)
This commit is contained in:
parent
369d0b2407
commit
61da545281
1 changed files with 22 additions and 21 deletions
43
.github/workflows/lint.yml
vendored
43
.github/workflows/lint.yml
vendored
|
|
@ -12,26 +12,27 @@ permissions:
|
|||
contents: read
|
||||
|
||||
jobs:
|
||||
name: Build & Lint
|
||||
runs-on: ubuntu-latest
|
||||
build:
|
||||
name: Build & Typecheck
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'pnpm'
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v3
|
||||
with:
|
||||
version: 8
|
||||
run_install: false
|
||||
- name: Install dependencies with pnpm
|
||||
run: pnpm --prefix=./src/ install --frozen-lockfile
|
||||
- name: Check linting
|
||||
run: pnpm --prefix=./src/ exec eslint . --max-warnings=0
|
||||
- name: Build
|
||||
run: pnpm --prefix=./src/ run build
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'pnpm'
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v3
|
||||
with:
|
||||
version: 8
|
||||
run_install: false
|
||||
- name: Install dependencies with pnpm
|
||||
run: pnpm --prefix=./src/ install --frozen-lockfile
|
||||
- name: Check linting
|
||||
run: pnpm --prefix=./src/ exec eslint . --max-warnings=0
|
||||
- name: Build
|
||||
run: pnpm --prefix=./src/ run build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue