Skip to content
This repository was archived by the owner on Apr 21, 2024. It is now read-only.

Commit cacbeb0

Browse files
committed
ci: make yarn installation conditional
1 parent 378788a commit cacbeb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/setup-node@v2
2727
with:
2828
node-version: ${{ matrix.node-version }}
29-
- run: npm install -g yarn
29+
- run: if [ "$(node --version)" \< "v17" ]; then npm install -g yarn; fi
3030
- run: yarn install
3131
- run: yarn test
3232
- run: yarn lint

0 commit comments

Comments
 (0)