Do not lint, but build in Test
This commit is contained in:
parent
a82093cf3f
commit
c1dfacdcd4
|
@ -1,4 +1,5 @@
|
||||||
name: Lint
|
name: Test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -7,22 +8,26 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
env:
|
||||||
|
FORCE_COLOR: 2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
FORCE_COLOR: 2
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: pnpm/action-setup@v2
|
- uses: pnpm/action-setup@v2
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: 8
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --ignore-scripts
|
run: pnpm install --ignore-scripts
|
||||||
- name: Lint
|
# pre-commit dioes this for us
|
||||||
run: pnpm lint
|
# - name: Lint
|
||||||
|
# run: pnpm run lint
|
||||||
|
- name: Build
|
||||||
|
run: pnpm run build
|
Loading…
Reference in New Issue