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/.github/workflows/style_and_syntax_checks.yml b/.github/workflows/style_and_syntax_checks.yml index 5e3176f..78ae3f0 100644 --- a/.github/workflows/style_and_syntax_checks.yml +++ b/.github/workflows/style_and_syntax_checks.yml @@ -16,7 +16,7 @@ jobs: # v3 uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 with: - node-version: 18 + node-version-file: '.nvmrc' cache: npm - name: Install dependencies diff --git a/.nvmrc b/.nvmrc index d5a1596..0a49261 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.10.0 +24.11.0