Skip to content
Closed
Prev Previous commit
Next Next commit
Set Yarn to v4 Canary after Git clean
  • Loading branch information
leotm authored Aug 8, 2022
commit b538800594055d3a8d2d01a66d4fe2987e0ee204
12 changes: 3 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,15 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Log Yarn version
run: yarn -v

- name: Download latest canary release from the Yarn repo
run: yarn set version canary

- name: Log Yarn version
run: yarn -v

- name: Remove lockfile
run: rm yarn.lock

- name: Git clean
run: git clean -fdx

- name: Download latest canary release from the Yarn repo
run: yarn set version canary

- name: Install with Yarn
run: yarn

Expand Down