Skip to content

fix: bump version (#47) #21

fix: bump version (#47)

fix: bump version (#47) #21

Workflow file for this run

name: Publish md-react to npm
on:
push:
branches:
- main
paths:
- 'packages/react/**'
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/react
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}