Merge pull request #2159 from microsoft/romasha/versionbump1020 #56
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/checkout@v2.3.1 | |
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 }} |