Do not lint, but build in Test

This commit is contained in:
Nikita Karamov 2023-12-07 17:14:26 +01:00
parent a82093cf3f
commit c1dfacdcd4
No known key found for this signature in database
GPG Key ID: 41D6F71EE78E77CD
1 changed files with 12 additions and 7 deletions

View File

@ -1,4 +1,5 @@
name: Lint
name: Test
on:
push:
branches:
@ -7,22 +8,26 @@ on:
branches:
- main
env:
FORCE_COLOR: 2
jobs:
lint:
test:
runs-on: ubuntu-latest
env:
FORCE_COLOR: 2
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
version: 8
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --ignore-scripts
- name: Lint
run: pnpm lint
# pre-commit dioes this for us
# - name: Lint
# run: pnpm run lint
- name: Build
run: pnpm run build