From 46fe296eb9991c60b6fbdd9c36057a4703dbed40 Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Sun, 31 Jul 2022 20:28:57 +0200 Subject: [PATCH 1/4] ci(test): re-use Octokit's test.yml action --- .github/workflows/test.yml | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9344b087..b5b6f3a6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,27 +7,7 @@ on: types: [opened, synchronize] jobs: - test_matrix: - runs-on: ubuntu-latest - strategy: - matrix: - node_version: - - 14 - - 16 - - 18 - - steps: - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 - - name: Use Node.js ${{ matrix.node_version }} - uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3 - with: - node-version: ${{ matrix.node_version }} - cache: npm - - run: npm ci - - run: npm test - test: - runs-on: ubuntu-latest - needs: test_matrix - steps: - - run: echo ok + uses: oscard0m/.github/.github/workflows/test.yml@add-shared-action + with: + node_versions: '[14,16,18]' From 1673efb776619b04bf436918084a8ff6eb53cf73 Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Sun, 16 Jul 2023 12:33:33 +0200 Subject: [PATCH 2/4] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0eeaac68..1b6d6344 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,6 @@ name: Test - synchronize jobs: test: - uses: oscard0m/.github/.github/workflows/test.yml@add-shared-action + uses: oscard0m/.github/.github-octokit/workflows/test.yml@add-shared-action with: node_versions: '[14,16,18]' From eca55c53c6b84243db7d3f51ffccb697b019def5 Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Sun, 16 Jul 2023 12:33:59 +0200 Subject: [PATCH 3/4] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b6d6344..093d90bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,6 @@ name: Test - synchronize jobs: test: - uses: oscard0m/.github/.github-octokit/workflows/test.yml@add-shared-action + uses: oscard0m/.github-octokit/.github/workflows/test.yml@add-shared-action with: node_versions: '[14,16,18]' From c4dafc06272dc7561ca8ad4b04ea14d16d47385b Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Sun, 16 Jul 2023 12:35:04 +0200 Subject: [PATCH 4/4] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 093d90bd..e56a0b71 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,4 +11,4 @@ jobs: test: uses: oscard0m/.github-octokit/.github/workflows/test.yml@add-shared-action with: - node_versions: '[14,16,18]' + node_versions: '[18,20]'