Skip to content

Commit

Permalink
Try deduping the lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Sep 25, 2023
1 parent 6c4597e commit 0581993
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 964 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,20 @@ jobs:
- name: Check folder contents
run: ls -l .

# Some weird install diffs with cloning this repo and installing.
# Just kill the lockfiles for React-Redux and RTK and reinstall

- name: Remove React-Redux lockfile
run: rm yarn.lock && rm package.json

- name: Remove RTK lockfile
working-directory: ./redux-toolkit
run: rm yarn.lock && rm package.json

- name: Install deps
working-directory: ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
# Some weird install diffs with cloning this repo and installing.
# Don't care about lockfile diffs, so let it change.
# Note the Bash-ism to unset the env var
run: CI= yarn install

run: rm yarn.lock && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install

- uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit 0581993

Please sign in to comment.