From 6ff292e576ab37f056d346ae0eaaa6319a065a9c Mon Sep 17 00:00:00 2001 From: Yuqiu Wang Date: Wed, 13 Sep 2023 11:38:47 -0500 Subject: [PATCH] run the pipeline using node 20 --- .github/workflows/main.yml | 8 ++++---- .github/workflows/release-package.yml | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 83b9420..3ba7676 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,10 +9,10 @@ jobs: working-directory: "./client" steps: - uses: actions/checkout@v2 - - name: Setup node 12 + - name: Setup node 20 uses: actions/setup-node@v1 with: - node-version: 12.x + node-version: 20.x - run: npm ci working-directory: ${{env.working-directory}} - run: npm run build @@ -29,10 +29,10 @@ jobs: # working-directory: "./server" # steps: # - uses: actions/checkout@v2 - # - name: Setup node 12 + # - name: Setup node 20 # uses: actions/setup-node@v1 # with: - # node-version: 12.x + # node-version: 20.x # - run: npm ci # working-directory: ${{env.working-directory}} # - run: npm run build diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 9a45e89..5ba4f82 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -11,10 +11,10 @@ jobs: working-directory: "./client" steps: - uses: actions/checkout@v2 - - name: Setup node 12 + - name: Setup node 20 uses: actions/setup-node@v1 with: - node-version: 12.x + node-version: 20.x - run: npm ci working-directory: ${{env.working-directory}} - run: npm run build @@ -32,10 +32,10 @@ jobs: contents: read steps: - uses: actions/checkout@v2 - - name: Setup node 12 + - name: Setup node 20 uses: actions/setup-node@v1 with: - node-version: 12.x + node-version: 20.x registry-url: https://npm.pkg.github.com/ - run: npm ci working-directory: ${{env.working-directory}} @@ -54,10 +54,10 @@ jobs: contents: read steps: - uses: actions/checkout@v2 - - name: Setup node 12 + - name: Setup node 20 uses: actions/setup-node@v1 with: - node-version: 12.x + node-version: 20.x registry-url: https://npm.pkg.github.com/ - run: npm ci working-directory: ${{env.working-directory}}