From 9d293c3ab06a56c535ee06aa3352ad5ae4fb4335 Mon Sep 17 00:00:00 2001 From: Andrew Gable Date: Fri, 31 Oct 2025 13:51:45 -0600 Subject: [PATCH] Update node and permissions to allow publishing via OIDC See https://github.com/Expensify/Expensify/issues/558148 --- .github/workflows/publish.yml | 5 +++++ .nvmrc | 1 + 2 files changed, 6 insertions(+) create mode 100644 .nvmrc diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 11cd6c1..4ceea4d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,11 @@ on: push: branches: [main] +permissions: + # Required for OIDC: https://docs.npmjs.com/trusted-publishers + id-token: write + contents: read + # Ensure that only one instance of this workflow executes at a time. # If multiple PRs are merged in quick succession, there will only ever be one publish workflow running and one pending. concurrency: ${{ github.workflow }} diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..0a49261 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +24.11.0