diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index b0078a3..31342d4 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -25,9 +25,9 @@ jobs: - name: Setup pnpm run: | - npm install -g pnpm@${{ env.PNPM_VERSION }} + npm install -g bun echo "Node: $(node --version)" - echo "pnpm: $(pnpm --version)" + echo "bun: $(bun --version)" - name: Configure npm for Forgejo registry run: | @@ -100,22 +100,22 @@ jobs: - name: Install dependencies run: | echo "Installing dependencies..." - pnpm install --no-frozen-lockfile + NODE_TLS_REJECT_UNAUTHORIZED=0 bun install - name: Validate run: | echo "Running validation..." # Run typecheck if available if grep -q '"typecheck"' package.json 2>/dev/null; then - pnpm run typecheck || echo "Typecheck had warnings" + bun run typecheck || echo "Typecheck had warnings" elif grep -q '"type-check"' package.json 2>/dev/null; then - pnpm run type-check || echo "Type-check had warnings" + bun run type-check || echo "Type-check had warnings" fi # Run lint if available if grep -q '"lint:check"' package.json 2>/dev/null; then - pnpm run lint:check || echo "Lint had warnings" + bun run lint:check || echo "Lint had warnings" elif grep -q '"lint"' package.json 2>/dev/null; then - pnpm run lint || echo "Lint had warnings" + bun run lint || echo "Lint had warnings" fi - name: Build and Publish packages based on _ config