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:
|
jobs:
|
||||||
my-job:
|
build:
|
||||||
name: my-job
|
name: Build & Typecheck
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout
|
||||||
- uses: oven-sh/setup-bun@v2
|
uses: actions/checkout@v4
|
||||||
- run: bun install
|
- name: Setup Bun
|
||||||
- run: bun index.ts
|
uses: oven-sh/setup-bun@v2
|
||||||
- run: bun run build
|
- 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