File tree Expand file tree Collapse file tree 3 files changed +74
-1
lines changed Expand file tree Collapse file tree 3 files changed +74
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Node.js Package
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*"
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ packages : read
13+ contents : read
14+ env :
15+ GITHUB_READ_PACKAGES_TOKEN : ${{ github.token }}
16+ steps :
17+ - uses : actions/checkout@v4
18+ - uses : actions/setup-node@v4
19+ with :
20+ node-version : " 20.x"
21+ - name : project - install
22+ run : yarn --frozen-lockfile
23+ - run : yarn eslint
24+
25+ publish :
26+ needs : test
27+ runs-on : ubuntu-latest
28+ permissions :
29+ packages : write
30+ contents : read
31+ env :
32+ GITHUB_READ_PACKAGES_TOKEN : ${{ github.token }}
33+ GITHUB_TOKEN : ${{ github.token }}
34+ steps :
35+ - uses : actions/checkout@v4
36+ - uses : actions/setup-node@v4
37+ with :
38+ node-version : " 20.x"
39+ registry-url : https://npm.pkg.github.com/
40+ - name : project - install
41+ run : yarn --frozen-lockfile
42+ - name : test
43+ run : xvfb-run yarn test --coverage --source-map --verbose || exit 1
44+ - run : yarn prepare
45+ - run : yarn publish
46+ env :
47+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : tests
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ strategy :
10+ matrix :
11+ node-version : [20.x]
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+ - name : Use Node.js ${{ matrix.node-version }}
16+ uses : actions/setup-node@v4
17+ with :
18+ node-version : ${{ matrix.node-version }}
19+ cache : " yarn"
20+ - name : project - install
21+ run : yarn --frozen-lockfile
22+ - name : lint
23+ run : yarn lint
Original file line number Diff line number Diff line change 11{
22 "name" : " @multiverse-io/ckeditor5-math" ,
3- "version" : " 43.2.0" ,
3+ "version" : " 43.2.0-next.0 " ,
44 "description" : " Math feature for CKEditor 5." ,
55 "keywords" : [
66 " ckeditor" ,
1212 " ckeditor5-math" ,
1313 " katex"
1414 ],
15+ "publishConfig" : {
16+ "@multiverse-io:registry" : " https://npm.pkg.github.com"
17+ },
1518 "type" : " module" ,
1619 "main" : " dist/index.ts" ,
1720 "module" : " dist/index.js" ,
You can’t perform that action at this time.
0 commit comments