Merge pull request #3328 from microsoft/u/nguyenvi/versionbump042426 #196
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: | |
| branches: | |
| - release | |
| jobs: | |
| publish: | |
| permissions: | |
| id-token: write # Required for OIDC | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: release | |
| - name: Set Node Version | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: Install dependencies | |
| run: yarn | |
| - name: Build | |
| run: npm run-script build:ci | |
| - name: Publish | |
| run: node tools/build.js publish --token ${{ secrets.NPM_TOKEN }} |