From cb7c271bed2f507e30e89af3d35c8b2836acd6dc Mon Sep 17 00:00:00 2001 From: Mert Sincan <sincan.mert@gmail.com> Date: Tue, 10 Dec 2024 20:02:07 +0000 Subject: [PATCH] Refactor --- .github/workflows/nightly.yml | 3 +-- .github/workflows/pr-checker.yml | 13 +++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 8ede9222ffa..1fac69cefe2 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -15,13 +15,12 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 with: - version: 9 run_install: false - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/pr-checker.yml b/.github/workflows/pr-checker.yml index 6517439094c..f29f6e71e02 100644 --- a/.github/workflows/pr-checker.yml +++ b/.github/workflows/pr-checker.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x, 20.x] steps: - name: Verify Linked Issue @@ -30,15 +30,16 @@ jobs: message: 'Thanks a lot for your contribution! But, PR does not seem to be linked to any issues. Please [manually link to an issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#manually-linking-a-pull-request-or-branch-to-an-issue-using-the-issue-sidebar).' - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: pnpm/action-setup@v4 + with: + run_install: false + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'pnpm' - - name: Install pnpm - run: | - npm install -g pnpm - - name: Install packages run: | pnpm install