File tree Expand file tree Collapse file tree 4 files changed +70
-12
lines changed
Expand file tree Collapse file tree 4 files changed +70
-12
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches :
5+ - main
6+ - master
7+ tags :
8+ - ' !*' # Do not execute on tags
9+ env :
10+ NAME : ${{vars.NAME}}
11+ EMAIL : ${{vars.EMAIL}}
12+ NPM_TOKEN : ${{secrets.NPM_TOKEN}}
13+ GITHUB_TOKEN : ${{secrets.GH_TOKEN}}
14+ FORCE_COLOR : 1
15+
16+
17+ jobs :
18+ test :
19+ strategy :
20+ matrix :
21+ platform : [ubuntu-latest, windows-latest, macOS-latest]
22+ node : [24.x]
23+ name : Test on ${{matrix.platform}}
24+ runs-on : ${{matrix.platform}}
25+ steps :
26+ - uses : actions/checkout@v6
27+ - uses : denoland/setup-node@v6
28+ with :
29+ node-version : ${{matrix.node}}
30+ - run : npm test
31+
32+
33+ publish :
34+ name : Publish package
35+ needs : [test]
36+ runs-on : ubuntu-latest
37+ steps :
38+ - uses : actions/checkout@v6
39+ - uses : actions/setup-node@v6
40+ with :
41+ node-version : 24.x
42+ 43+ with :
44+ entries : access = public
45+ - run : node build.js
46+ - run : npm publish
Original file line number Diff line number Diff line change 1+ name : PR
2+ on : [pull_request]
3+ env :
4+ FORCE_COLOR : 1
5+
6+
7+ jobs :
8+ test :
9+ strategy :
10+ matrix :
11+ platform : [ubuntu-latest, windows-latest, macOS-latest]
12+ node : [24.x]
13+ name : Test on ${{ matrix.platform }}
14+ runs-on : ${{ matrix.platform }}
15+ steps :
16+ - uses : actions/checkout@v6
17+ - uses : actions/setup-node@v6
18+ with :
19+ node-version : ${{ matrix.node }}
20+ - run : npm ci
21+ - run : npm test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3232 "license" : " MIT" ,
3333 "repository" : {
3434 "type" : " git" ,
35- "url" : " git+https://github.com/nodef/extra-git.git"
35+ "url" : " git+https://github.com/nodef/extra-git.sh. git"
3636 },
3737 "bugs" : {
38- "url" : " https://github.com/nodef/extra-git/issues"
38+ "url" : " https://github.com/nodef/extra-git.sh /issues"
3939 },
40- "homepage" : " https://github.com/nodef/extra-git#readme" ,
40+ "homepage" : " https://github.com/nodef/extra-git.sh #readme" ,
4141 "devDependencies" : {
4242 "html-entities" : " ^2.6.0" ,
4343 "markdown-to-text" : " ^0.1.1"
You can’t perform that action at this time.
0 commit comments