소스 검색

[action]Modify releases site workflow file

dufu1991 2 년 전
부모
커밋
47eb14813d
1개의 변경된 파일과 2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      .github/workflows/releases-site.yml

+ 2 - 3
.github/workflows/releases-site.yml

@@ -36,12 +36,11 @@ jobs:
       - name: Set up Node
         uses: actions/setup-node@v4
         with:
-          node-version: 20
-          cache: 'npm'
+          node-version: 20.x
       - name: Install dependencies and build
         run: |
           cd site
-          npm install
+          npm ci
           npm run build
       - name: Setup Pages
         uses: actions/configure-pages@v4