File tree Expand file tree Collapse file tree 5 files changed +93
-0
lines changed
Expand file tree Collapse file tree 5 files changed +93
-0
lines changed Original file line number Diff line number Diff line change 1+ * @ Bas950 @ Timeraa
Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ # Fetch and update latest `npm` packages
4+ - package-ecosystem : npm
5+ directory : " /"
6+ schedule :
7+ interval : daily
8+ time : " 00:00"
9+ open-pull-requests-limit : 10
10+ commit-message :
11+ prefix : chore
12+ include : scope
13+ # Fetch and update latest `github-actions` pkgs
14+ - package-ecosystem : github-actions
15+ directory : " /"
16+ schedule :
17+ interval : daily
18+ time : " 00:00"
19+ open-pull-requests-limit : 10
20+ commit-message :
21+ prefix : chore
22+ include : scope
Original file line number Diff line number Diff line change 1+ name : CI Dependencies
2+ on : [push, pull_request]
3+
4+ jobs :
5+ automerge :
6+ runs-on : ubuntu-latest
7+ permissions :
8+ pull-requests : write
9+ steps :
10+ 11+ with :
12+ github-token : ${{ secrets.GITHUB_TOKEN }}
13+ target : minor
14+ 15+ with :
16+ github-token : ${{ secrets.GITHUB_TOKEN }}
17+ target : patch
Original file line number Diff line number Diff line change 1+ name : Publish Package
2+ on :
3+ release :
4+ types : [created]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ permissions :
9+ contents : read
10+ packages : write
11+ steps :
12+ - name : Checkout repository
13+ uses : actions/checkout@v2
14+
15+ - name : Install Node v16
16+ uses : actions/setup-node@v2
17+ with :
18+ node-version : 16
19+ registry-url : " https://registry.npmjs.org"
20+ cache : yarn
21+
22+ - name : Install dependencies
23+ run : yarn install
24+
25+ - name : Compile
26+ run : tsc
27+
28+ - run : npm publish
29+ env :
30+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Test package
2+ on : [push, pull_request]
3+ jobs :
4+ test :
5+ runs-on : ubuntu-latest
6+ permissions :
7+ contents : read
8+ packages : write
9+ steps :
10+ - name : Checkout repository
11+ uses : actions/checkout@v2
12+
13+ - name : Install Node v16
14+ uses : actions/setup-node@v2
15+ with :
16+ node-version : 16
17+ cache : yarn
18+
19+ - name : Install dependencies
20+ run : yarn install
21+
22+ - name : Test package
23+ run : tsc
You can’t perform that action at this time.
0 commit comments