diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 60108e9..d9a8454 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,9 +19,12 @@ jobs: - name: Setup NodeJs uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '20' registry-url: 'https://registry.npmjs.org' + - name: Update npm + run: npm install -g npm@latest + - name: Install dependencies run: npm ci @@ -29,6 +32,4 @@ jobs: run: npm run build - name: Publish - run: npm publish --provenance --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npm publish