Sv443 10 месяцев назад
Родитель
Сommit
9a3b87b4f7
2 измененных файлов с 12 добавлено и 4 удалено
  1. 6 2
      .github/workflows/build.yml
  2. 6 2
      .github/workflows/lint.yml

+ 6 - 2
.github/workflows/build.yml

@@ -27,8 +27,12 @@ jobs:
         uses: actions/setup-node@v3
         with:
           node-version: ${{ matrix.node-version }}
-      - name: Install dependencies # runs the npm ci command to install from package-lock.json
-        run: npm ci
+      - uses: pnpm/action-setup@v4
+        with:
+          version: 9
+          run_install: |
+            - recursive: true
+              args: [--frozen-lockfile, --strict-peer-dependencies]
       - name: Build all for production
         run: npm run build-prod
       - name: Upload artifacts

+ 6 - 2
.github/workflows/lint.yml

@@ -25,7 +25,11 @@ jobs:
         uses: actions/setup-node@v3
         with:
           node-version: ${{ matrix.node-version }}
-      - name: Install dependencies # runs the npm ci command to install from package-lock.json
-        run: npm ci
+      - uses: pnpm/action-setup@v4
+        with:
+          version: 9
+          run_install: |
+            - recursive: true
+              args: [--frozen-lockfile, --strict-peer-dependencies]
       - name: Build with tsc & lint
         run: npm run lint