Browse Source

Merge pull request #7400 from wenzhixin/feature/update-node-version

Updated node version to 20
文翼 1 year ago
parent
commit
62beac1638
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .github/workflows/deploy.yml
  2. 1 1
      .github/workflows/test.yml

+ 1 - 1
.github/workflows/deploy.yml

@@ -13,7 +13,7 @@ jobs:
 
 
       - uses: actions/setup-node@v3
       - uses: actions/setup-node@v3
         with:
         with:
-          node-version: 16
+          node-version: 20
           cache: 'yarn'
           cache: 'yarn'
 
 
       - name: Build theme with node
       - name: Build theme with node

+ 1 - 1
.github/workflows/test.yml

@@ -11,7 +11,7 @@ jobs:
 
 
       - uses: actions/setup-node@v3
       - uses: actions/setup-node@v3
         with:
         with:
-          node-version: 18
+          node-version: 20
           cache: 'yarn'
           cache: 'yarn'
 
 
       - uses: actions/checkout@v3
       - uses: actions/checkout@v3