Feat: extension generate all #229
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NPM | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
npm-test: | |
name: unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.x" | |
- name: Install dependencies | |
run: npm install && npx tsc -p core && npm link ./core -w cli | |
- name: Build all workspaces | |
run: npm run build | |
- name: Run CI script in cli workspace | |
run: npm run --workspace cli ci | |
- name: Run CI script in core workspace | |
run: npm run --workspace core ci | |
- name: Run CI script in web workspace | |
run: npm run --workspace web ci |