ci: allow package reads and use npm ci for release build

This commit is contained in:
Mohamed Boudra
2026-02-11 14:42:12 +07:00
parent 00be27c9cc
commit 84079bfc36

View File

@@ -20,6 +20,7 @@ jobs:
publish-tauri:
permissions:
contents: write
packages: read
runs-on: macos-latest
env:
RELEASE_TAG: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.ref_name }}
@@ -44,7 +45,7 @@ jobs:
targets: aarch64-apple-darwin
- name: Install JS dependencies
run: npm install --workspace=@getpaseo/app --workspace=@getpaseo/desktop --include-workspace-root
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}