Skip to content

Commit

Permalink
ci: Separate ts lint task (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
turtton authored Mar 3, 2024
1 parent 9e2a21e commit 9323dba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/lint-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,16 @@ jobs:
./kotlin/**/**.kt
!./kotlin/**/generated/**
check-typescript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: biomejs/setup-biome@v2
- name: Run Biome
run: biome ci src

lint-and-build:
needs: check-kotlin
needs: [ check-kotlin, check-typescript ]
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -74,9 +82,6 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Lint
run: pnpm run lint

- name: Download template contents
run: |
curl -L -o temp.zip https://github.com/turtton/volglass-docs/archive/refs/heads/main.zip
Expand Down Expand Up @@ -105,4 +110,4 @@ jobs:
with:
file: ./Dockerfile
push: false
context: .
context: .
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"autoprefixer": "^10.4.13",
"cytoscape": "^3.17.0",
"postcss": "^8.4.21",
"@biomejs/biome": "^1.0.0",
"@biomejs/biome": "1.5.3",
"tailwindcss": "^3.2.4",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9323dba

Please sign in to comment.