build: bump #543
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: Minor | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
minor-npm: | |
name: Minor on NPM | |
runs-on: ubuntu-latest | |
if: "startsWith(github.event.head_commit.message, 'minor:')" | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js 16.x | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
registry-url: "https://registry.npmjs.org" | |
- name: Install Dependencies | |
run: yarn | |
- run: yarn --cwd packages/web-lib publish-npm | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |