File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed
Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 11name : Build
2+
23on :
34 pull_request :
45 branches : [main]
56 push :
67 branches : [main]
8+
79jobs :
810 build :
911 name : Lint and tests
Original file line number Diff line number Diff line change 1+ name : Publish
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ permissions :
9+ id-token : write
10+ contents : read
11+
12+ jobs :
13+ publish :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v6
17+ - uses : actions/setup-node@v6
18+ with :
19+ node-version : lts/*
20+ registry-url : https://registry.npmjs.org
21+ - run : npm ci
22+ - run : npm run lint
23+ - run : npm test
24+ - run : npm publish
Original file line number Diff line number Diff line change 88 "version" : " 4.0.0" ,
99 "author" : " Domenic Denicola <d@domenic.me> (https://domenic.me/)" ,
1010 "license" : " MIT" ,
11- "repository" : " jsdom/html-encoding-sniffer" ,
11+ "repository" : {
12+ "type" : " git" ,
13+ "url" : " git+https://github.com/jsdom/html-encoding-sniffer.git"
14+ },
1215 "main" : " lib/html-encoding-sniffer.js" ,
1316 "files" : [
1417 " lib/"
You can’t perform that action at this time.
0 commit comments