diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 919403feb..34f622882 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,11 +11,14 @@ on: jobs: Ubuntu: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20.x, 22.x, lts/*] steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: ${{ matrix.node-version }} - uses: pnpm/action-setup@v2 with: version: 8 @@ -28,4 +31,4 @@ jobs: - name: test working-directory: ./test - run: pnpm install && npm start -- --skipBuild \ No newline at end of file + run: pnpm install && npm start -- --skipBuild diff --git a/.github/workflows/migrate.yaml b/.github/workflows/migrate.yaml index 6cf147ca0..7d3c70ee7 100644 --- a/.github/workflows/migrate.yaml +++ b/.github/workflows/migrate.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: lts/* - uses: pnpm/action-setup@v2 with: version: 8 @@ -28,4 +28,4 @@ jobs: - name: test working-directory: ./packages/migrate - run: npm run test \ No newline at end of file + run: npm run test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 67b40381b..762d591fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: lts/* registry-url: https://registry.npmjs.org/ - uses: pnpm/action-setup@v2 with: @@ -28,4 +28,4 @@ jobs: uses: JamesIves/github-pages-deploy-action@4.1.3 with: branch: gh-pages - folder: ./website/out \ No newline at end of file + folder: ./website/out diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 68d214afa..bc74e505c 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: lts/* - uses: pnpm/action-setup@v2 with: version: 8 @@ -27,4 +27,4 @@ jobs: uses: JamesIves/github-pages-deploy-action@4.1.3 with: branch: gh-pages - folder: ./website/out \ No newline at end of file + folder: ./website/out