diff --git a/.github/workflows/ts-lint.yml b/.github/workflows/ts-lint.yml index eb4b133a..74a187b5 100644 --- a/.github/workflows/ts-lint.yml +++ b/.github/workflows/ts-lint.yml @@ -7,13 +7,16 @@ on: jobs: ts-lint: runs-on: ubuntu-latest + defaults: + run: + working-directory: ./gui steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v1 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: - path: ~/gui/node_modules - key: ${{ runner.os }}-${{ hashFiles('./gui/bun.lockb') }} + path: node_modules + key: ${{ runner.os }}-${{ hashFiles('bun.lockb') }} if: steps.cache-deps.outputs.cache-hit != 'true' - run: bun install if: steps.cache-deps.outputs.cache-hit != 'true' diff --git a/gui/package.json b/gui/package.json index 7e55c3c3..5f0d34a5 100644 --- a/gui/package.json +++ b/gui/package.json @@ -6,7 +6,7 @@ "build": "vite build --config .config/vite.config.js", "format": "prettier src --config .config/prettier.config.js --write", "format:check": "prettier --config .config/prettier.config.js src --check", - "tsc": "tsc --project .config/tsconfig.json --noEmit", + "tsc": "tsc --project . --noEmit", "dev": "vite --config .config/vite.config.js" }, "dependencies": {