Skip Typescript compilation on packaging

This commit is contained in:
venashial
2022-06-20 23:50:33 -07:00
parent 252c812125
commit f70f670ed3
31 changed files with 171 additions and 132 deletions

View File

@@ -24,3 +24,21 @@ jobs:
run: pnpm lint
- name: Run check
run: pnpm check
release:
needs: [lint]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Publish
if: github.ref == 'refs/heads/main'
run: |
cd package
pnpm publish --no-git-checks --tag alpha
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: EndBug/add-and-commit@v9
if: github.ref == 'refs/heads/main'
with:
message: "Bump package version [skip ci]"
default_author: github_actions