From 693bbe554cc05d6db3a1944baee259a8ff21fbfa Mon Sep 17 00:00:00 2001 From: Cailyn Sinclair Date: Sat, 21 Mar 2026 03:45:34 +0000 Subject: [PATCH] chore: bump Node to 22 and update GitHub Actions --- .github/workflows/lint.yml | 9 +++++---- .github/workflows/test.yml | 9 +++++---- .github/workflows/type-check.yml | 9 +++++---- .nvmrc | 2 +- 4 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f9dfe8e..162f582 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,17 +2,18 @@ name: Lint on: push: - branches: [ main ] + branches: [main] pull_request: jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 20 + node-version-file: .nvmrc + cache: 'yarn' - run: yarn install --frozen-lockfile - run: yarn lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f98042..2e65ce5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,17 +2,18 @@ name: Test on: push: - branches: [ main ] + branches: [main] pull_request: jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 20 + node-version-file: .nvmrc + cache: 'yarn' - run: yarn install --frozen-lockfile - run: yarn test diff --git a/.github/workflows/type-check.yml b/.github/workflows/type-check.yml index fa83009..27f8d16 100644 --- a/.github/workflows/type-check.yml +++ b/.github/workflows/type-check.yml @@ -2,17 +2,18 @@ name: Type Check on: push: - branches: [ main ] + branches: [main] pull_request: jobs: type-check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 20 + node-version-file: .nvmrc + cache: 'yarn' - run: yarn install --frozen-lockfile - run: yarn run check:type diff --git a/.nvmrc b/.nvmrc index 7ea6a59..517f386 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20.11.0 +v22.14.0