chore: update action config

This commit is contained in:
cqh963852 authored and cqh committed 2025-02-25 12:39:02 +08:00
1 parent 6f177dba0e
commit 526c8a9ec1
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: 16.x node-version: 20.x
cache: yarn cache: yarn
- name: Build website - name: Build website
working-directory: ./ working-directory: ./
+2 -2
View File
@@ -12,10 +12,10 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: 16.x node-version: 20.x
cache: yarn cache: yarn
- name: Test build - name: Test build
working-directory: website working-directory: ./
run: | run: |
yarn install --frozen-lockfile yarn install --frozen-lockfile
yarn build yarn build