ci: improve CI workflow with step names for clarity
Some checks failed
CI / test-build (pull_request) Has been cancelled

This commit is contained in:
We ball 2025-02-12 11:23:38 +01:00
parent f8d01eccbd
commit 958c8f70a4
Signed by: jank1619
GPG Key ID: 22BEAC760B3333D6

View File

@ -10,16 +10,23 @@ jobs:
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
steps: steps:
- uses: actions/checkout@v4 - name: Checkout Code
- uses: oven-sh/setup-bun@v2 uses: actions/checkout@v4
- uses: actions/cache@v4 - name: Install bun
uses: oven-sh/setup-bun@v2
- name: Cache
uses: actions/cache@v4
with: with:
path: | path: |
~/.npm ~/.npm
key: ${{ runner.os }}-bun-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }} key: ${{ runner.os }}-bun-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
restore-keys: | restore-keys: |
${{ runner.os }}-bun-${{ hashFiles('**/package-lock.json') }}- ${{ runner.os }}-bun-${{ hashFiles('**/package-lock.json') }}-
- run: | - name: Install dependencies
run: |
cd frontend cd frontend
bun install bun install
- run: bun run build - name: Test build
run: |
cd frontend
bun run build