File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed
Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1313 name : Unit tests
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@master
16+ - uses : actions/checkout@v2
1717 - run : npm install
1818 - run : npm run format-check
1919 - run : npm test
2525 os : [ubuntu-latest, macos-latest]
2626 swift : ["5.2.1", "4.2.4"]
2727 steps :
28- - uses : actions/checkout@master
28+ - uses : actions/checkout@v2
2929 - run : npm install
3030 - run : npm run build && npm run pack-source-map
3131 - uses : ./
You can’t perform that action at this time.
0 commit comments