diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3541b3..3a907d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,7 @@ jobs: build: runs-on: ubuntu-latest permissions: + id-token: write contents: read steps: - uses: actions/checkout@v5 @@ -14,7 +15,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '24.x' registry-url: 'https://registry.npmjs.org' - name: Install dependencies @@ -27,6 +28,4 @@ jobs: run: npm run build - name: Publish to npmjs - run: npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + run: npm publish --access public \ No newline at end of file