Przeglądaj źródła

[action]Modify releases site workflow file

dufu1991 2 lat temu
rodzic
commit
47eb14813d
1 zmienionych plików z 2 dodań i 3 usunięć
  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