From ff6d98d64e5db1acd5849158b2fcf941a2520636 Mon Sep 17 00:00:00 2001 From: ScriptedAlchemy Date: Thu, 21 Nov 2024 11:53:52 -0800 Subject: [PATCH] chore: multi node workflow test --- .github/workflows/build-and-test.yml | 2 +- .github/workflows/e2e-manifest.yml | 7 +++++-- .github/workflows/e2e-modern-ssr.yml | 7 +++++-- .github/workflows/e2e-modern.yml | 2 +- .github/workflows/e2e-next-dev.yml | 7 +++++-- .github/workflows/e2e-next-prod.yml | 7 +++++-- .github/workflows/e2e-node.yml | 7 +++++-- .github/workflows/e2e-router.yml | 7 +++++-- .github/workflows/e2e-runtime.yml | 2 +- 9 files changed, 33 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 6552de6002..c8bab9e7ae 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16, 18, 20] + node-version: [16, 18, 20, 22] steps: - name: Checkout Repository uses: actions/checkout@v3 diff --git a/.github/workflows/e2e-manifest.yml b/.github/workflows/e2e-manifest.yml index 7e30542857..e38b5fdd52 100644 --- a/.github/workflows/e2e-manifest.yml +++ b/.github/workflows/e2e-manifest.yml @@ -7,6 +7,9 @@ on: jobs: e2e-manifest: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16, 18, 20, 22] steps: - name: Checkout Repository uses: actions/checkout@v3 @@ -16,10 +19,10 @@ jobs: - name: Install Pnpm run: corepack enable - - name: Setup Node.js 18 + - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: '18' + node-version: ${{ matrix.node-version }} cache: 'pnpm' - name: Set Nx SHA diff --git a/.github/workflows/e2e-modern-ssr.yml b/.github/workflows/e2e-modern-ssr.yml index 41af709a83..286b87a682 100644 --- a/.github/workflows/e2e-modern-ssr.yml +++ b/.github/workflows/e2e-modern-ssr.yml @@ -6,6 +6,9 @@ on: jobs: e2e-modern: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16, 18, 20, 22] steps: - name: Checkout Repository uses: actions/checkout@v3 @@ -15,10 +18,10 @@ jobs: - name: Install Pnpm run: corepack enable - - name: Setup Node.js 18 + - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: '18' + node-version: ${{ matrix.node-version }} cache: 'pnpm' - name: Set Nx SHA diff --git a/.github/workflows/e2e-modern.yml b/.github/workflows/e2e-modern.yml index 9538330634..75ac798bf5 100644 --- a/.github/workflows/e2e-modern.yml +++ b/.github/workflows/e2e-modern.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16, 18, 20] + node-version: [16, 18, 20, 22] steps: - name: Checkout Repository uses: actions/checkout@v3 diff --git a/.github/workflows/e2e-next-dev.yml b/.github/workflows/e2e-next-dev.yml index 661422bac9..6c485b8eec 100644 --- a/.github/workflows/e2e-next-dev.yml +++ b/.github/workflows/e2e-next-dev.yml @@ -6,6 +6,9 @@ on: jobs: e2e-next-dev: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16, 18, 20, 22] steps: - name: Checkout Repository uses: actions/checkout@v3 @@ -15,10 +18,10 @@ jobs: - name: Install Pnpm run: corepack enable - - name: Setup Node.js 18 + - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: '18' + node-version: ${{ matrix.node-version }} cache: 'pnpm' - name: Set Nx SHA diff --git a/.github/workflows/e2e-next-prod.yml b/.github/workflows/e2e-next-prod.yml index a045c9e2eb..d6b6b891ff 100644 --- a/.github/workflows/e2e-next-prod.yml +++ b/.github/workflows/e2e-next-prod.yml @@ -6,6 +6,9 @@ on: jobs: e2e-next-prod: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16, 18, 20, 22] steps: - name: Checkout Repository uses: actions/checkout@v3 @@ -15,10 +18,10 @@ jobs: - name: Install Pnpm run: corepack enable - - name: Setup Node.js 18 + - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: '18' + node-version: ${{ matrix.node-version }} cache: 'pnpm' - name: Set Nx SHA diff --git a/.github/workflows/e2e-node.yml b/.github/workflows/e2e-node.yml index 9fce948dc1..479b79e39d 100644 --- a/.github/workflows/e2e-node.yml +++ b/.github/workflows/e2e-node.yml @@ -7,6 +7,9 @@ on: jobs: e2e-node: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16, 18, 20, 22] steps: - name: Checkout Repository uses: actions/checkout@v3 @@ -16,10 +19,10 @@ jobs: - name: Install Pnpm run: corepack enable - - name: Setup Node.js 18 + - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: '18' + node-version: ${{ matrix.node-version }} cache: 'pnpm' - name: Set Nx SHA diff --git a/.github/workflows/e2e-router.yml b/.github/workflows/e2e-router.yml index 5e7a5e2a28..a8362c7f6b 100644 --- a/.github/workflows/e2e-router.yml +++ b/.github/workflows/e2e-router.yml @@ -7,6 +7,9 @@ on: jobs: e2e-runtime: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16, 18, 20, 22] steps: - name: Checkout Repository uses: actions/checkout@v3 @@ -16,10 +19,10 @@ jobs: - name: Install Pnpm run: corepack enable - - name: Setup Node.js 18 + - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: '18' + node-version: ${{ matrix.node-version }} cache: 'pnpm' - name: Set Nx SHA diff --git a/.github/workflows/e2e-runtime.yml b/.github/workflows/e2e-runtime.yml index a951b405fb..3c3f932dc1 100644 --- a/.github/workflows/e2e-runtime.yml +++ b/.github/workflows/e2e-runtime.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16, 18, 20] + node-version: [16, 18, 20, 22] steps: - name: Checkout Repository uses: actions/checkout@v3