build(deps): update devdependency typescript to ^6.0.0 (#1135) #4098
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, pull_request] | |
| env: | |
| FORCE_COLOR: true | |
| jobs: | |
| test: | |
| name: Test (${{ matrix.node_version}}-${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| node_version: [20, 22, 24] | |
| os: [ubuntu-latest] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Use node ${{ matrix.node_version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node_version }} | |
| - name: Restore cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| node_modules | |
| */*/node_modules | |
| key: ${{ matrix.os }}-${{ matrix.node_version}}-yarn-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: ${{ matrix.os }}-${{ matrix.node_version }}-yarn- | |
| - name: Install yarn dependencies | |
| run: yarn install | |
| - name: Bootstrap lerna packages | |
| run: yarn bootstrap | |
| - name: Lint source code | |
| run: yarn lint | |
| if: ${{ matrix.node_version == 24 }} | |
| - name: Jest with code coverage | |
| if: ${{ matrix.node_version == 24 }} | |
| run: yarn test:coverage | |
| - name: Jest | |
| if: ${{ matrix.node_version != 24 }} | |
| run: yarn jest | |
| build: | |
| name: Build (${{ matrix.node_version}}-${{ matrix.os }}) | |
| needs: test | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| node_version: [24] | |
| os: [ubuntu-latest] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Use node ${{ matrix.node_version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node_version }} | |
| - name: Restore cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| node_modules | |
| */*/node_modules | |
| key: ${{ matrix.os }}-${{ matrix.node_version}}-yarn-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: ${{ matrix.os }}-${{ matrix.node_version }}-yarn- | |
| - name: Install yarn dependencies | |
| run: yarn install | |
| - name: Bootstrap lerna packages | |
| run: yarn bootstrap | |
| - name: Build lerna packages | |
| run: yarn build | |
| - name: Lint package sizes | |
| run: yarn size |