Skip to content

Commit 42ad6cb

Browse files
authored
tests: yarn setup (#1288)
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 188598c commit 42ad6cb

File tree

13 files changed

+3653
-28
lines changed

13 files changed

+3653
-28
lines changed

.github/workflows/nodejs.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,14 @@ jobs:
101101
# cache-dependency-path: "**/package-lock.json"
102102
- # some integration tests require a certain npm version to be installable
103103
name: update npm
104-
run: npm i -g npm@^8
105-
- name: display version
106104
run: |-
107-
node --version
105+
npm i -g npm@^8
108106
npm --version
107+
- name: enable yarn
108+
if: "matrix.node-version != '14.0.0'" # yarn14 has broken corepack
109+
run: |-
110+
corepack enable yarn
111+
yarn --version
109112
- name: install project
110113
shell: bash
111114
run: |

0 commit comments

Comments
 (0)