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:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- uses: actions/cache@v4
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
- name: Install bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
- name: Cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.npm
|
||||
key: ${{ runner.os }}-bun-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-bun-${{ hashFiles('**/package-lock.json') }}-
|
||||
- run: |
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd frontend
|
||||
bun install
|
||||
- run: bun run build
|
||||
- name: Test build
|
||||
run: |
|
||||
cd frontend
|
||||
bun run build
|
||||
|
|
Reference in a new issue