fix(build): bundle pure esm package (#133) #91
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: Version Up | |
on: | |
push: | |
branches: [main] | |
jobs: | |
auto-version-up: | |
if: github.event_name != 'pull_request' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Git Config | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
git config --global user.email "[email protected]" | |
git config --global user.name "gh-actions" | |
- uses: actions/checkout@v3 | |
with: | |
ref: main | |
- uses: pnpm/[email protected] | |
with: | |
version: 8.15.1 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "20.x" | |
cache: "pnpm" | |
- run: pnpm i --frozen-lockfile | |
- name: Auto version update | |
run: | | |
pnpm lerna:version:up |