Browse Source

ci: use yarn for consistency

George Cushen 4 năm trước cách đây
mục cha
commit
1ae0fdbb74
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      .github/workflows/build-test-site.yaml

+ 2 - 2
.github/workflows/build-test-site.yaml

@@ -33,11 +33,11 @@ jobs:
           node-version: ${{ matrix.node-version }}
 
       - name: Install JS dependencies
-        run: npm ci
+        run: rm -rf node_modules && yarn install --frozen-lockfile
         working-directory: ./wowchemy
 
       - name: Check for JS linting errors
-        run: npm lint:js
+        run: yarn run lint:js
         working-directory: ./wowchemy
 
   format: