Skip to content

Commit

Permalink
Use --immutable flag whenever "yarn install" is called by a tool
Browse files Browse the repository at this point in the history
Fixes #347

Change-Id: I1b8423f9cef46a425c1ec7665c8285af10c56df6
  • Loading branch information
awesome-manuel committed Feb 19, 2024
1 parent d1e9f38 commit ae7f6e1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/edge_ghpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
node-version: "18"
- name: Install and Build 🔧
run: |
yarn install
yarn install --immutable
yarn build
- name: Deploy 🚀
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit ae7f6e1

Please sign in to comment.