Skip to content

fix: zefix

fix: zefix #20

Workflow file for this run

name: "πŸš€ Release to npm"
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: 🧺 checkout
uses: actions/checkout@v3
- name: 🐱 use .nvmrc
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: πŸ“Œ npm install
run: npm ci --prefer-offline --no-audit
- name: 🧱 build
run: npm run build
- name: πŸš€ release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cd packages/react
npm run build
npx semantic-release