perf: add all file imports to LLM prompt (#68) #8
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 bumpgen core to npmjs | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "packages/bumpgen-core/**" | |
jobs: | |
check: | |
name: "Check if release is needed" | |
runs-on: "ubuntu-latest" | |
outputs: | |
exists: ${{ steps.check-tag.outputs.exists }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: martinbeentjes/npm-get-version-action@main | |
id: get-version | |
- uses: mukunku/tag-exists-action@v1.1.0 | |
id: check-tag | |
with: | |
tag: v${{ steps.get-version.outputs.current-version }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
release: | |
name: "Release" | |
needs: check | |
if: needs.check.outputs.exists == 'false' | |
runs-on: "ubuntu-latest" | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: martinbeentjes/npm-get-version-action@main | |
id: get-version | |
- uses: actions/create-release@v1 | |
id: create-release | |
with: | |
draft: false | |
prerelease: false | |
release_name: v${{ steps.get-version.outputs.current-version}} | |
tag_name: v${{ steps.get-version.outputs.current-version}} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./tooling/github/setup | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm --filter=@xeol/bumpgen-core run build | |
- run: pnpm --filter=@xeol/bumpgen-core publish --tag latest --access public --no-git-checks | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |