From 3b3c4caf01caff97060be16cdb409071a75ab89c Mon Sep 17 00:00:00 2001 From: pipopotamasu Date: Wed, 12 Feb 2025 09:37:33 -0500 Subject: [PATCH] ci(ci): update actions/checkout to v4 and introduce actions/setup-node to use the node v22 --- .github/workflows/tests.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b424880..0e12eff 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,22 +3,28 @@ on: [push] jobs: PrettierJS: runs-on: ubuntu-latest - container: node:12-stretch steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 - run: yarn install - run: yarn run prettier-diff Lint: runs-on: ubuntu-latest - container: node:12-stretch steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 - run: yarn install - run: yarn run lint-diff Jest: runs-on: ubuntu-latest - container: node:12-stretch steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 - run: yarn install - run: yarn run test