diff --git a/.github/workflows/build-zip.yml b/.github/workflows/build-zip.yml index 2ccd8e8..16b7632 100644 --- a/.github/workflows/build-zip.yml +++ b/.github/workflows/build-zip.yml @@ -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/* \ No newline at end of file diff --git a/bun.lockb b/bun.lockb new file mode 100644 index 0000000..8842fd4 Binary files /dev/null and b/bun.lockb differ