Menghapus pnpm untuk menggunakan npm
This commit is contained in:
1 parent
4c0a3c1efa
commit
0ef8f9b89e
2 files changed
+3
-7
No files matched your search
@@ -30,13 +30,9 @@ 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
|
||||||
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": "pnpm build",
|
"prepublishOnly": "npm build",
|
||||||
"pretest": "pnpm build"
|
"pretest": "npm build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "^2.11.1"
|
"@tauri-apps/api": "^2.11.1"
|
||||||
|
|||||||
Reference in new issue
Block a user