diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 873320d0..79c02b0d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,9 @@ on: jobs: publish: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - name: Checkout xero-node repo uses: actions/checkout@v4 @@ -20,6 +23,7 @@ jobs: node-version: 20 cache: 'npm' cache-dependency-path: '**/package-lock.json' + registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: npm ci