Skip to content

Commit a2bb4d6

Browse files
authored
Revert "fix(ci): revert changes 2.0.5 ~ 2.0.7 (#246)" (#249)
This reverts commit 91909a2.
1 parent 33973ed commit a2bb4d6

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,12 @@ jobs:
4141
registry-url: 'https://registry.npmjs.org'
4242
node-version: lts/*
4343

44+
- name: 📦 Pack package
45+
run: nix develop --command pnpm pack
46+
4447
- name: 🚀 Publish package
45-
run: nix develop --command pnpm publish --provenance --no-git-checks --access public
48+
shell: bash
49+
run: |
50+
PACKAGE_TGZ=$(ls *.tgz | head -n 1)
51+
echo "Publishing package: $PACKAGE_TGZ"
52+
npm publish "$PACKAGE_TGZ" --access public

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
{
2121
devShells.default = pkgs.mkShell {
2222
buildInputs = with pkgs; [
23+
nodejs_24
2324
pnpm_10
2425
nixfmt-rfc-style
2526
];

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"lint:oxfmt": "oxfmt --no-error-on-unmatched-pattern --check .",
3030
"lint:oxlint": "oxlint --max-warnings=0 --type-aware --type-check",
3131
"lint:knip": "knip",
32-
"preinstall": "npx only-allow pnpm",
3332
"prepack": "npm pkg delete scripts.preinstall && pnpm run build",
3433
"test": "vitest",
3534
"coverage": "vitest run --coverage"

0 commit comments

Comments
 (0)