|
25 | 25 | node-version-file: ".nvmrc"
|
26 | 26 | cache: ${{ steps.cache.outputs.PACKAGE }}
|
27 | 27 |
|
| 28 | + # Workaround npm/nx optional install issue - https://github.com/nrwl/nx/issues/15452 |
28 | 29 | - name: Install dependencies
|
29 |
| - run: npm ci |
| 30 | + run: npm ci && npm install --no-save @nx/nx-linux-x64-gnu |
30 | 31 |
|
31 | 32 | - name: Build
|
32 | 33 | run: npm run build
|
|
67 | 68 | node-version-file: ".nvmrc"
|
68 | 69 | cache: ${{ steps.cache.outputs.PACKAGE }}
|
69 | 70 |
|
| 71 | + # Workaround npm/nx optional install issue - https://github.com/nrwl/nx/issues/15452 |
70 | 72 | - name: Install dependencies
|
71 |
| - run: npm ci |
| 73 | + run: npm ci && npm install --no-save @nx/nx-linux-x64-gnu |
72 | 74 |
|
73 | 75 | - name: Download build files
|
74 | 76 | uses: actions/download-artifact@v3
|
|
97 | 99 | node-version-file: ".nvmrc"
|
98 | 100 | cache: ${{ steps.cache.outputs.PACKAGE }}
|
99 | 101 |
|
| 102 | + # Workaround npm/nx optional install issue - https://github.com/nrwl/nx/issues/15452 |
100 | 103 | - name: Install dependencies
|
101 |
| - run: npm ci |
| 104 | + run: npm ci && npm install --no-save @nx/nx-linux-x64-gnu |
102 | 105 |
|
103 | 106 | - name: Download build files
|
104 | 107 | uses: actions/download-artifact@v3
|
@@ -127,8 +130,9 @@ jobs:
|
127 | 130 | node-version-file: ".nvmrc"
|
128 | 131 | cache: ${{ steps.cache.outputs.PACKAGE }}
|
129 | 132 |
|
| 133 | + # Workaround npm/nx optional install issue - https://github.com/nrwl/nx/issues/15452 |
130 | 134 | - name: Install dependencies
|
131 |
| - run: npm ci |
| 135 | + run: npm ci && npm install --no-save @nx/nx-linux-x64-gnu |
132 | 136 |
|
133 | 137 | - name: Download build files
|
134 | 138 | uses: actions/download-artifact@v3
|
@@ -267,8 +271,9 @@ jobs:
|
267 | 271 | cache: ${{ steps.cache.outputs.PACKAGE }}
|
268 | 272 | registry-url: 'https://registry.npmjs.org'
|
269 | 273 |
|
270 |
| - - name: Install monorepo dependencies |
271 |
| - run: npm ci |
| 274 | + # Workaround npm/nx optional install issue - https://github.com/nrwl/nx/issues/15452 |
| 275 | + - name: Install dependencies |
| 276 | + run: npm ci && npm install --no-save @nx/nx-linux-x64-gnu |
272 | 277 |
|
273 | 278 | - name: Download build
|
274 | 279 | uses: actions/download-artifact@v3
|
|
0 commit comments