[READ-ONLY] Mirror of https://github.com/flo-bit/svelte-github-corner. flo-bit.dev/svelte-github-corner/
0

Configure Feed

Select the types of activity you want to include in your feed.

back to bun

+14 -7
+14 -7
.github/workflows/deploy_gh_pages.yml
··· 12 12 - name: Checkout 13 13 uses: actions/checkout@v3 14 14 15 - - name: Setup Node.js 16 - uses: actions/setup-node@v3 15 + - name: Install Bun 16 + uses: oven-sh/setup-bun@v1 17 17 with: 18 - node-version: '20' # Use Node.js 20 19 - cache: 'npm' 18 + bun-version: latest 19 + cache: true 20 20 21 21 - name: Install dependencies 22 - run: npm ci 22 + run: bun install 23 23 24 24 - name: Build 25 25 env: 26 26 BASE_PATH: '/${{ github.event.repository.name }}' 27 - run: npm run build 27 + run: bun run build 28 28 29 29 - name: Upload Artifacts 30 30 uses: actions/upload-pages-artifact@v2 ··· 32 32 # This should match the `pages` option in your adapter-static options 33 33 path: 'build/' 34 34 35 + - name: Debug npm auth 36 + run: | 37 + echo "Auth token length: ${#NODE_AUTH_TOKEN}" 38 + echo "Registry: $(npm get registry)" 39 + 35 40 - name: Publish to NPM 36 41 env: 37 42 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} 38 - run: npm publish --access public 43 + run: | 44 + npm install 45 + npm publish --access public 39 46 40 47 deploy: 41 48 needs: build_site