diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fa2a8a6..9e9023d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 970498d..6c12c28 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} diff --git a/app/.npmrc.githubactions b/app/.npmrc.githubactions new file mode 100644 index 0000000..e05150c --- /dev/null +++ b/app/.npmrc.githubactions @@ -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 \ No newline at end of file