ci: migrate to bun

This commit is contained in:
Ivan Rezchikov
2026-09-15 20:11:57 +03:00
parent 950a38b2e2
commit 9be459b522
+12 -6
View File
@@ -25,18 +25,24 @@ jobs:
lint-frontend: lint-frontend:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Restore Bun cache
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('kotosoft-id-frontend/bun.lock') }}
- name: Lint frontend - name: Lint frontend
run: | run: |
docker run --rm \ cd kotosoft-id-frontend
-v "$PWD/kotosoft-id-frontend:/app" \ bun install
-w /app \ bun run lint
node:20-alpine \
sh -c 'npm install && npm run lint'
build-backend: build-backend:
runs-on: ubuntu-latest runs-on: ubuntu-latest