diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index 56b165148e..cdc33c0d9c 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -1,4 +1,4 @@ { "sandboxes": ["vanilla", "vanilla-ts"], - "node": "18" + "node": "20" } diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e8ccded53a..2d1fbf3bf4 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' registry-url: 'https://registry.npmjs.org' cache: 'yarn' - run: yarn install --frozen-lockfile diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e16a4f6cfe..6216746769 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ['20.x'] + node: ['22.x'] steps: - name: Checkout repo @@ -69,7 +69,7 @@ jobs: strategy: fail-fast: false matrix: - node: ['20.x'] + node: ['22.x'] steps: - name: Checkout repo uses: actions/checkout@v4 @@ -109,7 +109,7 @@ jobs: strategy: fail-fast: false matrix: - node: ['20.x'] + node: ['22.x'] ts: ['5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8'] steps: - name: Checkout repo @@ -153,11 +153,17 @@ jobs: strategy: fail-fast: false matrix: - node: ['20.x'] + node: ['22.x'] steps: - name: Checkout repo uses: actions/checkout@v4 + - name: Use node ${{ matrix.node }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} + cache: 'yarn' + - uses: actions/download-artifact@v4 with: name: package @@ -175,7 +181,7 @@ jobs: strategy: fail-fast: false matrix: - node: ['20.x'] + node: ['22.x'] example: [ 'cra4',