diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 10da471..53b42e8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,6 +8,7 @@ on: jobs: build: runs-on: ubuntu-latest + environment: production concurrency: group: npm-publish cancel-in-progress: false @@ -16,14 +17,10 @@ jobs: id-token: write steps: - uses: actions/checkout@v4 - # Setup .npmrc file to publish to npm - uses: actions/setup-node@v4 with: - node-version: '20.x' - registry-url: 'https://registry.npmjs.org' + node-version: "24.x" - run: npm install - run: npm run prepublishOnly - run: npm publish --access public if: github.event_name != 'pull_request' - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}