Skip to content

Commit 5878e77

Browse files
committed
ci: add --print-build-logs and revert dry-publish
- Add --print-build-logs to nix build for better CI visibility - Revert dry-publish to use pnpm directly as pkg-pr-new doesn't support pre-built tarballs
1 parent 39eca4c commit 5878e77

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
uses: ./.github/actions/setup-nix
4949

5050
- name: Build package
51-
run: nix build
51+
run: nix build --print-build-logs
5252

5353
test:
5454
runs-on: ubuntu-latest

.github/workflows/dry-publish.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,5 @@ jobs:
1313
- name: Setup Nix
1414
uses: ./.github/actions/setup-nix
1515

16-
- name: 📦 Build package
17-
run: nix build
18-
1916
- name: 🚀 Dry Run Publish Package
20-
run: nix develop --command pnpm dlx pkg-pr-new publish result/*.tgz
17+
run: nix develop --command pnpm dlx pkg-pr-new publish --pnpm

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
node-version: lts/*
4343

4444
- name: 📦 Build package
45-
run: nix build
45+
run: nix build --print-build-logs
4646

4747
- name: 🚀 Publish package
4848
shell: bash

0 commit comments

Comments
 (0)