Menggunakan pnpm kembali
This commit is contained in:
1 parent
0ef8f9b89e
commit
3cede80578
2 files changed
+8
-3
No files matched your search
@@ -30,9 +30,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Unduh pnpm
|
||||||
|
uses: pnpm/action-setup@v6
|
||||||
|
with:
|
||||||
|
version: 10
|
||||||
|
|
||||||
- name: Unggah program
|
- name: Unggah program
|
||||||
run: |
|
run: |
|
||||||
npm i
|
pnpm i
|
||||||
npm config set @${{ needs.persiapan.outputs.organisasi }}:registry=https://git.segubi.com/api/packages/${{ needs.persiapan.outputs.organisasi }}/npm/
|
npm config set @${{ needs.persiapan.outputs.organisasi }}:registry=https://git.segubi.com/api/packages/${{ needs.persiapan.outputs.organisasi }}/npm/
|
||||||
npm config set -- '//git.segubi.com/api/packages/${{ needs.persiapan.outputs.organisasi }}/npm/:_authToken' "${{ secrets.KATA_SANDI_KUNCI_PENGUNGGAHAN }}"
|
npm config set -- '//git.segubi.com/api/packages/${{ needs.persiapan.outputs.organisasi }}/npm/:_authToken' "${{ secrets.KATA_SANDI_KUNCI_PENGUNGGAHAN }}"
|
||||||
npm publish
|
npm publish
|
||||||
+2
-2
@@ -18,8 +18,8 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rollup -c",
|
"build": "rollup -c",
|
||||||
"prepublishOnly": "npm build",
|
"prepublishOnly": "pnpm build",
|
||||||
"pretest": "npm build"
|
"pretest": "pnpm build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "^2.11.1"
|
"@tauri-apps/api": "^2.11.1"
|
||||||
|
|||||||
Reference in new issue
Block a user