Skip to content

Commit 86f18bf

Browse files
authored
fix(ci): remove --provenance (#242)
* fix(ci): remove --provenance * chore: publish with npm
1 parent 088cc3b commit 86f18bf

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 --no-git-checks
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
@@ -15,6 +15,7 @@
1515
devShells.default = pkgs.mkShell {
1616
buildInputs = with pkgs; [
1717
pnpm_10
18+
nodejs_24
1819
];
1920

2021
shellHook = ''

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)