Skip to content

Commit 0581993

Browse files
committed
Try deduping the lockfile
1 parent 6c4597e commit 0581993

File tree

2 files changed

+87
-964
lines changed

2 files changed

+87
-964
lines changed

.github/workflows/test.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,20 @@ jobs:
127127
- name: Check folder contents
128128
run: ls -l .
129129

130+
# Some weird install diffs with cloning this repo and installing.
131+
# Just kill the lockfiles for React-Redux and RTK and reinstall
132+
133+
- name: Remove React-Redux lockfile
134+
run: rm yarn.lock && rm package.json
135+
136+
- name: Remove RTK lockfile
137+
working-directory: ./redux-toolkit
138+
run: rm yarn.lock && rm package.json
139+
130140
- name: Install deps
131141
working-directory: ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
132-
# Some weird install diffs with cloning this repo and installing.
133-
# Don't care about lockfile diffs, so let it change.
134-
# Note the Bash-ism to unset the env var
135-
run: CI= yarn install
142+
143+
run: rm yarn.lock && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install
136144

137145
- uses: actions/download-artifact@v2
138146
with:

0 commit comments

Comments
 (0)