diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d1ad242..a2efcd3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,8 +14,10 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: "20" + node-version: "22" registry-url: "https://registry.npmjs.org" + # Ensure npm is up to date for trusted publishing + - run: npm install -g npm@latest - run: npm ci - run: npm test - run: npm publish