Use --immutable flag whenever "yarn install" is called by a tool

Fixes #347

Change-Id: I1b8423f9cef46a425c1ec7665c8285af10c56df6
pull/476/head
Manuel Stahl 7 months ago
parent d1e9f38b14
commit ae7f6e18e5

@ -16,6 +16,6 @@ jobs:
with:
node-version: "18"
- name: Install dependencies
run: yarn --frozen-lockfile
run: yarn --immutable
- name: Run tests
run: yarn test

@ -16,7 +16,7 @@ jobs:
node-version: "18"
- name: Install and Build 🔧
run: |
yarn install
yarn install --immutable
yarn build
- name: Deploy 🚀

@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "18"
- run: yarn install
- run: yarn install --immutable
- run: yarn build
- run: |
version=`git describe --dirty --tags || echo unknown`

@ -6,7 +6,7 @@ ARG REACT_APP_SERVER
WORKDIR /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

Loading…
Cancel
Save