Skip to content

Commit 91909a2

Browse files
authored
fix(ci): revert changes 2.0.5 ~ 2.0.7 (#246)
* Revert "fix(ci): pack (#244)" This reverts commit 21c4a45. * Revert "fix(ci): remove --provenance (#242)" This reverts commit 86f18bf.
1 parent 6a6f835 commit 91909a2

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,5 @@ 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-
4744
- name: 🚀 Publish package
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
45+
run: nix develop --command pnpm publish --provenance --no-git-checks --access public

flake.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
devShells.default = pkgs.mkShell {
1616
buildInputs = with pkgs; [
1717
pnpm_10
18-
nodejs_24
1918
];
2019

2120
shellHook = ''

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
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",
3233
"prepack": "npm pkg delete scripts.preinstall && pnpm run build",
3334
"test": "vitest",
3435
"coverage": "vitest run --coverage"

0 commit comments

Comments
 (0)