fix private package installation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1d2f617a4e
commit
95087124b5
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -32,8 +32,12 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
|
||||
- name: setup .npmrc
|
||||
run: mv .npmrc.githubactions .npmrc
|
||||
- name: install frontend dependencies
|
||||
run: yarn install # change this to npm or pnpm depending on which one you use
|
||||
env:
|
||||
UNOM_PACKAGES_TOKEN: ${{ secrets.UNOM_PACKAGES_TOKEN }}
|
||||
- uses: tauri-apps/tauri-action@v0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -27,8 +27,12 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
|
||||
- name: setup .npmrc
|
||||
run: mv .npmrc.githubactions .npmrc
|
||||
- name: install frontend dependencies
|
||||
run: yarn install # change this to npm or pnpm depending on which one you use
|
||||
env:
|
||||
UNOM_PACKAGES_TOKEN: ${{ secrets.UNOM_PACKAGES_TOKEN }}
|
||||
- uses: tauri-apps/tauri-action@v0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
4
app/.npmrc.githubactions
Normal file
4
app/.npmrc.githubactions
Normal file
@ -0,0 +1,4 @@
|
||||
//packages.unom.io/:_authToken=${UNOM_PACKAGES_TOKEN}
|
||||
registry=https://registry.npmjs.org/
|
||||
@tempblade:registry=https://packages.unom.io
|
||||
@unom:registry=https://packages.unom.io
|
Loading…
x
Reference in New Issue
Block a user