diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d91716a..d5fb931 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,4 @@ +# Using [trusted publishing](https://docs.npmjs.com/trusted-publishers) name: Release on: @@ -340,9 +341,12 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: "20" + node-version: "24" registry-url: "https://registry.npmjs.org" + - name: Update npm to support trusted publishing + run: npm install -g npm@latest + - name: Download all artifacts uses: actions/download-artifact@v4 with: