chore: release v0.0.1 #24
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: Publish PR Commit Pkg | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- '!**' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: ${{ github.repository == 'Jungzl/echarts-gl' }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/jod | |
cache: 'pnpm' | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: pnpm release | |
- name: Publish | |
run: pnpx pkg-pr-new publish |