From 8f4ade2041d3572d9a0a611c04520379e233ded6 Mon Sep 17 00:00:00 2001 From: Renzo van Hootegem Date: Thu, 7 Nov 2024 15:49:25 +0100 Subject: [PATCH] Added matrix to try building with different versions of node --- .github/workflows/periodic-build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/periodic-build.yml b/.github/workflows/periodic-build.yml index c7ac198582..0aa971b5ed 100644 --- a/.github/workflows/periodic-build.yml +++ b/.github/workflows/periodic-build.yml @@ -18,6 +18,9 @@ jobs: message: Graphcommerce start building notifyOnlyOnFailure: true publish: + strategy: + matrix: + version: [18, 20, 22] runs-on: ubuntu-latest outputs: published: ${{ steps.changesets.outputs.published }} @@ -29,7 +32,7 @@ jobs: - uses: actions/setup-node@v3 with: cache: yarn - node-version: 20 + node-version: ${{ matrix.version }} registry-url: 'https://registry.npmjs.org' scope: '@graphcommerce' - name: yarn install && yarn postinstall