File tree Expand file tree Collapse file tree 4 files changed +2974
-13
lines changed Expand file tree Collapse file tree 4 files changed +2974
-13
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ workflow_dispatch :
3+ pull_request :
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v3
10+ with :
11+ ref : ${{ github.ref }}
12+ fetch-depth : 0
13+
14+ - uses : actions/setup-node@v3
15+ with :
16+ node-version : 16
17+ cache : " yarn"
18+
19+ - name : Install Dependencies
20+ run : yarn --frozen-lockfile --prefer-offline
21+
22+ - name : Linting
23+ run : yarn lint
24+
25+ - name : Format Source Code
26+ run : yarn format
27+
28+ - name : Unit Tests
29+ run : yarn test
30+
31+ - name : Build
32+ run : yarn build
33+
34+ - name : Commit and Push Changes
35+ uses : EndBug/add-and-commit@v9
36+ with :
37+ committer_name : GitHub Actions
38+ # https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
39+ message : " chore: [skip-ci] format code and generate build artifacts"
40+ add : " ."
41+ push : origin HEAD:${{ github.head_ref }}
You can’t perform that action at this time.
0 commit comments