feat: support custom prop #150
Workflow file for this run
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: CI | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: "Build & Test" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
registry-url: 'https://registry.npmjs.org' | |
cache: 'yarn' | |
- name: Install Lerna | |
run: yarn global add lerna@6 | |
- run: yarn setup | |
- run: yarn lint --stream | |
- run: yarn build --stream | |
- run: yarn test --stream | |
- run: cp README.md packages/vue2 && cp README.md packages/vue3 | |
- run: cp -r packages/vue2/types packages/vue3 | |
- name: "Publish" | |
if: contains('refs/heads/master', github.ref) | |
run: lerna publish -y from-package | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |