fix: simplify commands in CI workflow by removing unnecessary directory changes
This commit is contained in:
@@ -33,19 +33,13 @@ jobs:
|
|||||||
run: ls -lah
|
run: ls -lah
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: bun install
|
||||||
cd frontend
|
|
||||||
bun install
|
|
||||||
|
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
run: |
|
run: bun run lint
|
||||||
cd frontend
|
|
||||||
bun run lint
|
|
||||||
|
|
||||||
- name: Run TypeScript check
|
- name: Run TypeScript check
|
||||||
run: |
|
run: bunx tsc -b --noEmit
|
||||||
cd frontend
|
|
||||||
bunx tsc -b --noEmit
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -69,18 +63,14 @@ jobs:
|
|||||||
${{ runner.os }}-bun-
|
${{ runner.os }}-bun-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: bun install
|
||||||
cd frontend
|
|
||||||
bun install
|
|
||||||
|
|
||||||
- name: Build application
|
- name: Build application
|
||||||
run: |
|
run: bun run build
|
||||||
cd frontend
|
|
||||||
bun run build
|
|
||||||
|
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: frontend-dist
|
name: frontend-dist
|
||||||
path: frontend/dist/
|
path: dist/
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
Reference in New Issue
Block a user