Skip to content

Commit

Permalink
ci: pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Oc1S committed Jun 11, 2024
1 parent 97b3042 commit f651e8c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/build-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,22 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Setup Node.js
uses: actions/setup-node@v3
with:
bun-version: latest
node-version-file: ".nvmrc"

# - uses: actions/cache@v3
# with:
# path: node_modules
# key: ${{ runner.OS }}-build-${{ hashFiles('**/bun.lockb') }}
- uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/bun.lockb') }}

- uses: pnpm/action-setup@v4

- run: pnpm install

- run: bun install
- run: bun run build
- run: pnpm build

- uses: actions/upload-artifact@v3
with:
path: dist/*
path: dist/*
Binary file added bun.lockb
Binary file not shown.

0 comments on commit f651e8c

Please sign in to comment.