fix(github/workflow): now the workflow seems work
This commit is contained in:
parent
a43837891c
commit
17b990fb85
1 changed files with 21 additions and 8 deletions
29
.github/workflows/bun.yml
vendored
29
.github/workflows/bun.yml
vendored
|
|
@ -1,11 +1,24 @@
|
|||
name: my-workflow
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
my-job:
|
||||
name: my-job
|
||||
build:
|
||||
name: Build & Typecheck
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- run: bun install
|
||||
- run: bun index.ts
|
||||
- run: bun run build
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
- name: Install dependencies (cached)
|
||||
run: bun install --frozen-lockfile
|
||||
- name: Build
|
||||
run: bun run build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue