Skip to content
name: Node.js Publish UI Packages
on:
push:
branches: [ 'develop' ]
paths:
- 'react/ui-components/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: cd react/ && yarn && cd ui-components/ && yarn build && npm publish --tag corev0.1
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}