Skip to content

ci(react): update ci #2

ci(react): update ci

ci(react): update ci #2

Workflow file for this run

name: Publish react_ui to npmjs
on:
push:
branches:
- test-ci
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: pnpm
registry-url: 'https://registry.npmjs.org'
- run: pnpm i
- run: pnpm ui-react:build
- run: pnpm publish --filter @ui-aurora/react
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}