diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74d1662..62bf057 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [20.x] + node-version: [22.x] steps: - name: Checkout repository diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 44eba3d..bd9d4ef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,7 +27,9 @@ jobs: with: node-version: 22 cache: 'npm' - registry-url: 'https://registry.npmjs.org' + + - name: Upgrade npm for OIDC trusted publishing + run: npm install -g npm@latest - name: Install dependencies run: npm ci