diff --git a/.github/workflows/update-dist.yaml b/.github/workflows/update-dist.yaml new file mode 100644 index 0000000..f1aa843 --- /dev/null +++ b/.github/workflows/update-dist.yaml @@ -0,0 +1,22 @@ +on: + push: + branches: + - "release-please--**" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: "20" + cache: "npm" + - run: npm ci + - run: npm run build + - run: | + git config user.name github-actions[bot] + git config user.email 41898282+github-actions[bot]@users.noreply.github.com + git add -f dist + git commit -m "chore: Build dist" + git push