typo fix #569
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: mediasoup-client | |
| on: | |
| push: | |
| branches: [v3] | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| # Cancel a currently running workflow from the same PR, branch or tag when a | |
| # new workflow is triggered. | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ci: | |
| # Skip the release commit pushed by `npm run release` (its message carries a | |
| # `[no-ci]` marker). | |
| if: ${{ !contains(github.event.head_commit.message, '[no-ci]') }} | |
| strategy: | |
| matrix: | |
| ci: | |
| - os: ubuntu-24.04 | |
| node: 22 | |
| - os: ubuntu-24.04 | |
| node: 24 | |
| - os: ubuntu-26.04 | |
| node: 26 | |
| - os: macos-14 | |
| node: 22 | |
| - os: macos-15 | |
| node: 26 | |
| - os: windows-2022 | |
| node: 24 | |
| - os: windows-2025 | |
| node: 26 | |
| runs-on: ${{ matrix.ci.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.ci.node }} | |
| - name: Configure cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.npm | |
| key: ${{ matrix.ci.os }}-node-${{ hashFiles('**/package.json') }} | |
| restore-keys: | | |
| ${{ matrix.ci.os }}-node- | |
| - name: npm ci --foreground-scripts | |
| run: npm ci --foreground-scripts | |
| - name: npm audit --omit dev | |
| run: npm audit --omit dev | |
| - name: npm run lint | |
| run: npm run lint | |
| - name: npm run test | |
| run: npm run test | |
| - name: npm run publish:dry-run | |
| run: npm run publish:dry-run |