From 14d4a561190e1b78476ec2e3da27bf10546f7dc5 Mon Sep 17 00:00:00 2001 From: Edric Date: Tue, 3 Sep 2024 01:48:25 +0800 Subject: [PATCH] ci: update Node.js version to v20 --- .github/workflows/main.yml | 4 ++-- .github/workflows/pull-request.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 949fd495..d6f7f40c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: - name: Setup NodeJS LTS uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Setup Angular problem matchers uses: EdricChan03/angular-problem-matchers-action@v0.0.0 - name: Cache node modules @@ -51,7 +51,7 @@ jobs: - name: Setup NodeJS LTS uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Setup Angular problem matchers uses: EdricChan03/angular-problem-matchers-action@v0.0.0 - name: Cache node modules diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index bced2fd6..e9a55442 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -16,7 +16,7 @@ jobs: - name: Setup NodeJS LTS uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Cache node modules uses: actions/cache@v3 id: node_modules_cache