Skip to content

fix: Search ios clear #73

fix: Search ios clear

fix: Search ios clear #73

Workflow file for this run

name: Publish Project
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Configure git user and email
run: |
git config --global user.name "jinzelin"
git config --global user.email "[email protected]"
- name: Install Dependencies
run: |
npm install yarn -g
yarn
- name: Publish to NPM
run: |
yarn build
npm set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
npx lerna publish -y
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: build Doc
run: yarn doc:build
- name: Publish Doc
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: docs
FOLDER: docs
CLEAN: true