Skip to content

Commit 78339af

Browse files
committed
Install yarn in GitHub actions as well.
1 parent 9ed5125 commit 78339af

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/build-examples.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
uses: actions/setup-node@v2
1515
with:
1616
node-version: 16
17+
- name: Install yarn
18+
run: npm install -g yarn@1.22.17
1719
- name: Gradle Version
1820
run: ./gradlew --version
1921
- name: Build Node.js Scripts Project

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
uses: actions/setup-node@v2
1515
with:
1616
node-version: 16
17+
- name: Install yarn
18+
run: npm install -g yarn@1.22.17
1719
- name: Gradle Version
1820
run: ./gradlew --version
1921
- name: Build

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515
uses: actions/setup-java@v1
1616
with:
1717
java-version: 8
18+
- name: Install Node.js
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: 16
22+
- name: Install yarn
23+
run: npm install -g yarn@1.22.17
1824
- name: Build
1925
run: ./gradlew build
2026
- name: Publish

0 commit comments

Comments
 (0)