We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef60d6b commit 72e1784Copy full SHA for 72e1784
.github/workflows/unit-tests.yml
@@ -7,12 +7,23 @@ jobs:
7
runs-on: ubuntu-22.04
8
9
steps:
10
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
11
+
12
+ - name: Install yarn if not present
13
+ run: |-
14
+ if which yarn; then
15
+ exit
16
+ fi
17
+ curl -fsSL --create-dirs -o ~/bin/yarn \
18
+ https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn-1.22.19.js
19
+ chmod +x ~/bin/yarn
20
+ echo ~/bin >> "${GITHUB_PATH}"
21
22
- name: Use specified Node.js version
- uses: actions/setup-node@v2
23
+ uses: actions/setup-node@v3
24
with:
25
node-version-file: .nvmrc
26
+ cache: yarn
27
28
- name: Install dependencies
29
run: yarn install
0 commit comments