Merge pull request #2738 from microsoft/romasha/versionbump628 #100
This file contains 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: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
ref: release | |
persist-credentials: false | |
- name: Set Node Version | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 'v18.16.0' | |
- 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 }} |