Skip to content

feat: props mountId to support react18 #1009

feat: props mountId to support react18

feat: props mountId to support react18 #1009

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Set branch name
run: echo >>$GITHUB_ENV BRANCH_NAME=${GITHUB_REF#refs/heads/}
- name: Echo branch name
run: echo ${BRANCH_NAME}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- run: pnpm run setup
- run: pnpm run lint
- run: pnpm run test
- run: pnpm run coverage
env:
CI: true
- run: pnpm run publish:packages
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}