chore(release): 4.6.13 #72
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: publish | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| jobs: | |
| tests: | |
| uses: ./.github/workflows/tests.yml | |
| publish-npm: | |
| needs: [tests] | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # Required for OIDC | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20.x' | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: Publish to npm | |
| run: | # npm 11.15.1 for OIDC support | |
| npm install -g npm@11 | |
| npm ci | |
| npm install | |
| npm publish --access public |