ci: improve CI workflow with step names for clarity
Some checks failed
CI / test-build (pull_request) Has been cancelled
Some checks failed
CI / test-build (pull_request) Has been cancelled
This commit is contained in:
parent
f8d01eccbd
commit
958c8f70a4
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user