ci: improve CI workflow with step names for clarity
This commit is contained in:
parent
3e1e42fa31
commit
ac3c84106d
1 changed files with 12 additions and 5 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue