feat(utils): add merge
and isPlainObject
(#946)
#329
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Algolia Search Indexing | |
on: | |
push: | |
branches: | |
- v2 | |
workflow_dispatch: | |
env: | |
ALGOLIA_APPLICATION_ID: 7V00GBK8V8 | |
ALGOLIA_INDEX: tonic-ui-v2 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install yarn | |
run: npm install -g yarn | |
- name: Install and build | |
run: | | |
yarn up | |
yarn install | |
yarn build | |
- name: Algolia search indexing | |
env: | |
ALGOLIA_ADMIN_API_KEY: ${{ secrets.ALGOLIA_ADMIN_API_KEY }} | |
run: | | |
cd packages/react-docs; ../../node_modules/.bin/babel-node scripts/algolia-search-indexing.js |