From f477a14d7863eab6fec8814cbcdd9e913d7f9ff4 Mon Sep 17 00:00:00 2001 From: turtton Date: Sun, 3 Mar 2024 20:26:48 +0900 Subject: [PATCH 1/2] ci: Separate ts lint task --- .github/workflows/lint-and-build.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint-and-build.yml b/.github/workflows/lint-and-build.yml index bb3602e3..89a671a6 100644 --- a/.github/workflows/lint-and-build.yml +++ b/.github/workflows/lint-and-build.yml @@ -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: @@ -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 @@ -105,4 +110,4 @@ jobs: with: file: ./Dockerfile push: false - context: . \ No newline at end of file + context: . From 33214c8103f2a2f8b62c12de067904dcfb448fec Mon Sep 17 00:00:00 2001 From: turtton Date: Sun, 3 Mar 2024 20:33:51 +0900 Subject: [PATCH 2/2] chore: Specify biome version --- package.json | 2 +- pnpm-lock.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ac927c93..679b514d 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 12b564fa..1dbbb4c4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -83,7 +83,7 @@ dependencies: devDependencies: '@biomejs/biome': - specifier: ^1.0.0 + specifier: 1.5.3 version: 1.5.3 '@types/babel__core': specifier: ^7.20.0