File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2828 node-version : " lts/*"
2929 registry-url : " https://registry.npmjs.org"
3030 - run : npm ci
31- - run : npm run build
32- - run : npm publish
31+ - run : npm run build --workspaces --if-present
32+ - run : npm publish --workspaces --if-present
3333 if : " !github.event.release.prerelease"
3434 # npm requires explicitly specifying a "tag" like `next` if the semantic version is a prerelease like `2.0.0-alpha1`
35- - run : npm publish --tag next
35+ - run : npm publish --workspaces --if-present -- tag next
3636 if : github.event.release.prerelease
Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ jobs:
2929 - name : Install
3030 run : npm ci
3131 - name : Generate docs
32- run : npm run doc
32+ run : npm run doc --workspace packages/roslib
3333 - name : Upload static files as artifact
3434 id : deployment
3535 uses : actions/upload-pages-artifact@v4
3636 with :
37- path : docs/
37+ path : packages/roslib/ docs/
3838
3939 deploy :
4040 needs : build
Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ jobs:
3737 run : npm ci
3838
3939 - name : Build JavaScript library
40- run : npm run build
40+ run : npm run build --workspaces --if-present
4141
4242 - name : Run tests
43- run : npm test
43+ run : npm test --workspaces --if-present
4444
4545 docs :
4646 uses : ./.github/workflows/docs.yml
You can’t perform that action at this time.
0 commit comments