File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,28 @@ jobs:
2626 uses : ./.github/actions/setup-and-build
2727 with :
2828 node-version : ${{ matrix.node }}
29+
2930 - name : Test Project
3031 run : export NODE_OPTIONS=--max-old-space-size=6144; npm test
3132 - name : Test building apidocs
3233 run : export NODE_OPTIONS=--openssl-legacy-provider; npm run apidocs
3334 - name : Test building docs
3435 run : export NODE_OPTIONS=--openssl-legacy-provider; npm run docs:build
36+
37+ - name : publint
38+ run : npx publint
39+ - name : validate package
40+ run : npx @arethetypeswrong/cli $(npm pack)
41+
42+ example :
43+ runs-on : ubuntu-latest
44+ strategy :
45+ matrix :
46+ # https://nodejs.org/en/about/releases/
47+ node : [ '18', '20' ]
48+ fail-fast : false
49+ name : Node.js ${{ matrix.node }}
50+ steps :
3551 - name : Test building examples (CJS)
3652 run : |
3753 cd examples/echo-bot-ts-cjs
4662 npm install
4763 npm run build
4864 cd -
49- - name : publint
50- run : npx publint
51- - name : validate package
52- run : npx @arethetypeswrong/cli $(npm pack)
You can’t perform that action at this time.
0 commit comments