File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88jobs :
99 publish :
1010 runs-on : ubuntu-latest
11-
11+
1212 permissions :
13- contents : read
13+ contents : write
1414 packages : write
15-
15+
1616 steps :
1717 - uses : actions/checkout@v4
18-
18+
1919 - name : Use Node.js
2020 uses : actions/setup-node@v4
2121 with :
2222 node-version : ' 20.x'
2323 registry-url : ' https://registry.npmjs.org'
2424 cache : ' npm'
25-
25+
2626 - name : Install dependencies
2727 run : npm ci
28-
29- - name : Run type check
28+
29+ - name : Type check
3030 run : npm run typecheck
31-
32- - name : Run tests
33- run : npm test
34-
35- - name : Run lint
31+
32+ - name : Lint
3633 run : npm run lint
37-
34+
3835 - name : Publish to npm
3936 run : npm publish --access public
4037 env :
4138 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
42-
39+
4340 - name : Create GitHub Release
4441 uses : softprops/action-gh-release@v2
4542 with :
Original file line number Diff line number Diff line change 1- name : Test
1+ name : CI
22
33on :
44 push :
77 branches : [main]
88
99jobs :
10- test :
10+ ci :
1111 runs-on : ubuntu-latest
12-
12+
1313 strategy :
1414 matrix :
1515 node-version : [18.x, 20.x, 22.x]
16-
16+
1717 steps :
1818 - uses : actions/checkout@v4
19-
19+
2020 - name : Use Node.js ${{ matrix.node-version }}
2121 uses : actions/setup-node@v4
2222 with :
2323 node-version : ${{ matrix.node-version }}
2424 cache : ' npm'
25-
25+
2626 - name : Install dependencies
2727 run : npm ci
28-
29- - name : Run type check
28+
29+ - name : Type check
3030 run : npm run typecheck
31-
32- - name : Run unit tests
33- run : npm run test:unit
34-
35- - name : Run skill tests
36- run : npm run test:skills
37-
38- - name : Run agent tests
39- run : npm run test:agents
31+
32+ - name : Lint
33+ run : npm run lint
Original file line number Diff line number Diff line change 5858 "test:watch" : " vitest" ,
5959 "test:coverage" : " vitest run --coverage" ,
6060 "migrate-tokens" : " node ./scripts/migrate-tokens.js" ,
61- "prepublishOnly" : " npm run typecheck && npm run lint && npm run test " ,
62- "preversion" : " npm run test && npm run lint" ,
61+ "prepublishOnly" : " npm run typecheck && npm run lint" ,
62+ "preversion" : " npm run lint" ,
6363 "version" : " git add -A package.json" ,
6464 "postversion" : " git push && git push --tags"
6565 },
You can’t perform that action at this time.
0 commit comments