mirror of
				https://github.com/UA-Fediland/synapse-admin.git
				synced 2025-10-30 03:28:29 +00:00 
			
		
		
		
	Use --immutable flag whenever "yarn install" is called by a tool
Fixes #347 Change-Id: I1b8423f9cef46a425c1ec7665c8285af10c56df6
This commit is contained in:
		
							parent
							
								
									d1e9f38b14
								
							
						
					
					
						commit
						ae7f6e18e5
					
				
					 4 changed files with 4 additions and 4 deletions
				
			
		
							
								
								
									
										2
									
								
								.github/workflows/build-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build-test.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -16,6 +16,6 @@ jobs: | ||||||
|         with: |         with: | ||||||
|           node-version: "18" |           node-version: "18" | ||||||
|       - name: Install dependencies |       - name: Install dependencies | ||||||
|         run: yarn --frozen-lockfile |         run: yarn --immutable | ||||||
|       - name: Run tests |       - name: Run tests | ||||||
|         run: yarn test |         run: yarn test | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								.github/workflows/edge_ghpage.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/edge_ghpage.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -16,7 +16,7 @@ jobs: | ||||||
|           node-version: "18" |           node-version: "18" | ||||||
|       - name: Install and Build 🔧 |       - name: Install and Build 🔧 | ||||||
|         run: | |         run: | | ||||||
|           yarn install |           yarn install --immutable | ||||||
|           yarn build |           yarn build | ||||||
| 
 | 
 | ||||||
|       - name: Deploy 🚀 |       - name: Deploy 🚀 | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								.github/workflows/github-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/github-release.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -17,7 +17,7 @@ jobs: | ||||||
|       - uses: actions/setup-node@v4 |       - uses: actions/setup-node@v4 | ||||||
|         with: |         with: | ||||||
|           node-version: "18" |           node-version: "18" | ||||||
|       - run: yarn install |       - run: yarn install --immutable | ||||||
|       - run: yarn build |       - run: yarn build | ||||||
|       - run: | |       - run: | | ||||||
|           version=`git describe --dirty --tags || echo unknown` |           version=`git describe --dirty --tags || echo unknown` | ||||||
|  |  | ||||||
|  | @ -6,7 +6,7 @@ ARG REACT_APP_SERVER | ||||||
| WORKDIR /src | WORKDIR /src | ||||||
| 
 | 
 | ||||||
| COPY . /src | COPY . /src | ||||||
| RUN yarn --network-timeout=300000 install | RUN yarn --network-timeout=300000 install --immutable | ||||||
| RUN REACT_APP_SERVER=$REACT_APP_SERVER yarn build | RUN REACT_APP_SERVER=$REACT_APP_SERVER yarn build | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue