Skip to content

Commit 8f237e6

Browse files
committed
Automatically build on merge to master
1 parent ccecf6e commit 8f237e6

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build-dist:
10+
name: Build distribution
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
ref: ${{ github.head_ref }}
16+
17+
- run: npm install
18+
- run: npm run pack-source-map
19+
20+
- uses: stefanzweifel/git-auto-commit-action@v4.2.0
21+
with:
22+
file_pattern: dist/index.js
23+
commit_message: New dist

0 commit comments

Comments
 (0)