Skip to content

chore: updated test-util functions deps and readme #103

chore: updated test-util functions deps and readme

chore: updated test-util functions deps and readme #103

name: VueActMaster publish npm
on:
push:
branches:
- master
defaults:
run:
shell: bash
working-directory: packages/vue-act-master
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
# Проверяем изменилась ли версия
- name: Set NEED_PUBLISH
run: echo "NEED_PUBLISH=$(./need-publish.sh)" >> $GITHUB_ENV
- if: ${{ env.NEED_PUBLISH }}
run: |
yarn
yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}