From 27e56138ff1c1116320b922f8ae77781dd29485c Mon Sep 17 00:00:00 2001 From: xhad Date: Tue, 12 Dec 2023 14:22:13 -0500 Subject: [PATCH 1/8] chore: Update github actions nodes version --- .github/workflows/format.yml | 2 +- .github/workflows/lint.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 9dd0fcd..32c7ab8 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 18.x - name: Get yarn cache directory path id: yarn-cache-dir-path diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 358e428..34690ff 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 18.x - name: Get yarn cache directory path id: yarn-cache-dir-path From 5eef56acf0b27264b37d0555cc69b653fca75ed1 Mon Sep 17 00:00:00 2001 From: xhad Date: Tue, 12 Dec 2023 14:31:37 -0500 Subject: [PATCH 2/8] chore: Update base runner for tests --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 70ff74b..9ed3436 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ on: jobs: tests: name: Matchstick - runs-on: ubuntu-latest + runs-on: macos-13-xlarge container: node:18 services: From 13f2f7e96fb3a219b57aba9d17b956db088f21d0 Mon Sep 17 00:00:00 2001 From: xhad Date: Tue, 12 Dec 2023 14:36:06 -0500 Subject: [PATCH 3/8] chore: Try a different version of runner --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9ed3436..1a7bdf0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ on: jobs: tests: name: Matchstick - runs-on: macos-13-xlarge + runs-on: macos-latest container: node:18 services: From 58b4255417bd6e92d572a67a461b4a76db9da661 Mon Sep 17 00:00:00 2001 From: xhad Date: Tue, 12 Dec 2023 14:45:44 -0500 Subject: [PATCH 4/8] chore: Update action versions --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1a7bdf0..02fc832 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,10 +26,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x cache: "yarn" From f3ee222f5c6a3d82ca09ac3a6cb8a32eb6f7de68 Mon Sep 17 00:00:00 2001 From: xhad Date: Tue, 12 Dec 2023 14:52:43 -0500 Subject: [PATCH 5/8] chore: Format --- .github/workflows/tests.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 02fc832..847d3b8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,17 +31,18 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 18.x - cache: "yarn" + node-version: 18 + cache: "npm" + cache-dependency-path: ./package-lock.json - name: Install dependencies - run: yarn install --frozen-lockfile + run: npm install --frozen-lockfile - name: Run codegen - run: yarn codegen + run: npm run codegen - name: Run build - run: yarn build:local + run: npm run build:local - name: Run tests - run: yarn test + run: npm test From 293941f1f6604e6426b2edb785ac16bef2aabcc6 Mon Sep 17 00:00:00 2001 From: xhad Date: Tue, 12 Dec 2023 14:57:41 -0500 Subject: [PATCH 6/8] chore: Update container --- .github/workflows/tests.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 847d3b8..89467c7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ on: jobs: tests: name: Matchstick - runs-on: macos-latest + runs-on: ubuntu-latest container: node:18 services: @@ -32,17 +32,16 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 - cache: "npm" - cache-dependency-path: ./package-lock.json + cache: "yarn" - name: Install dependencies - run: npm install --frozen-lockfile + run: yarn install --frozen-lockfile - name: Run codegen - run: npm run codegen + run: yarn codegen - name: Run build - run: npm run build:local + run: yarn build:local - name: Run tests - run: npm test + run: yarn test From afa623ee5e91be48c1553451d4f0f6370957a83d Mon Sep 17 00:00:00 2001 From: xhad Date: Tue, 12 Dec 2023 15:34:22 -0500 Subject: [PATCH 7/8] chore: Update container --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 89467c7..05a22d9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ on: jobs: tests: name: Matchstick - runs-on: ubuntu-latest + runs-on: macos-13 container: node:18 services: From 7b1e14c755155c64fffe55cc90b0f016d1ebc8b7 Mon Sep 17 00:00:00 2001 From: xhad Date: Tue, 12 Dec 2023 15:36:11 -0500 Subject: [PATCH 8/8] chore: Update container --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 05a22d9..694831e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ on: jobs: tests: name: Matchstick - runs-on: macos-13 + runs-on: macos-12-m1 container: node:18 services: