Skip to content

Commit

Permalink
chore: Setup dist update on release
Browse files Browse the repository at this point in the history
  • Loading branch information
nandenjin committed Mar 26, 2024
1 parent 89e2a13 commit e8880a2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/update-dist.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e8880a2

Please sign in to comment.