feat(notification): 新增支持自定义zIndex功能 #329
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: Release | |
on: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- master | |
jobs: | |
if_merged: | |
if: startsWith(github.head_ref, 'release/') && github.event.pull_request.merged == true | |
name: Publish packages | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
steps: | |
- name: Test | |
run: echo $HOME ${{ github.ref }} ${{ github.head_ref }} ${{ github.event.pull_request.merged }} | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Setup Node.js 14.21.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.21.x | |
cache: 'yarn' | |
- name: Setup npmrc | |
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc | |
- name: Install dependencies | |
run: | | |
yarn config set strict-ssl false | |
yarn | |
- name: Build packages | |
run: | | |
yarn run build | |
- name: Publish | |
run: | | |
yarn run publish | |
git checkout -- .npmrc | |
git push origin --follow-tags | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |