chore(ci-cd): update publish command in release workflow #8156
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| node_matrix_tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20, 22, 24] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install Monorepo Deps | |
| run: npm ci --ignore-scripts | |
| - name: Run After Install Script | |
| run: npm run afterinstall | |
| - name: Run Test Cases | |
| run: npm run test --workspaces --if-present | |
| - name: Run Lint Checks | |
| run: npm run lint --workspaces --if-present | |
| npm_test: | |
| runs-on: ubuntu-latest | |
| needs: node_matrix_tests | |
| if: success() | |
| steps: | |
| - name: Final status | |
| run: echo "✅ All tests passed for Node.js 20 and 22" |