Skip to content

Commit db19d38

Browse files
committed
Copy test-published-artifact job from React-Redux
1 parent b9c7e87 commit db19d38

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

.github/workflows/build-and-test-types.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -149,26 +149,14 @@ jobs:
149149
- name: Check folder contents
150150
run: ls -l .
151151

152-
# Some weird install diffs with cloning this repo and installing.
153-
# Just kill the lockfiles for this repo and RTK and reinstall
154-
155-
- name: Remove top lockfile
156-
run: rm yarn.lock && rm package.json
157-
158-
- name: Remove RTK lockfile
159-
working-directory: ./redux-toolkit
160-
run: rm yarn.lock && rm package.json
161-
162-
- name: Install deps
152+
- name: Install example deps
163153
working-directory: ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
164-
env:
165-
YARN_ENABLE_IMMUTABLE_INSTALLS: false
166-
run: rm yarn.lock && yarn install
154+
run: yarn install
167155

168156
- name: Install Playwright browser if necessary
169157
working-directory: ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
170158
continue-on-error: true
171-
run: yarn playwright install
159+
run: yarn playwright install || true
172160

173161
- uses: actions/download-artifact@v4
174162
with:

0 commit comments

Comments
 (0)