Merge pull request #181 from microsoft/dependabot/npm_and_yarn/es5-ex… #71
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: 'Main: Release' | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ssh-key: ${{ secrets.SSH_KEY }} | |
- name: Setting up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
registry-url: 'https://registry.npmjs.org' | |
- name: Setting up Git | |
run: | | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git config --global user.name "GitHub Actions" | |
- name: Installing dependencies | |
run: npm ci | |
- name: Checking for change files | |
run: npm run beachball:check | |
- name: Building and publishing packages | |
run: npm run publish:packages | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |