Skip to content

Commit 75d029f

Browse files
committed
scala-js: install npm CI action
1 parent 5150edf commit 75d029f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,18 @@ jobs:
6666
os: [ubuntu-latest]
6767
scala: [2.13.8, 2.12.15]
6868
java: [adopt@1.8]
69+
node-version: [16.x]
6970
runs-on: ${{ matrix.os }}
7071
steps:
71-
- name: Checkout current branch (full)
72-
uses: actions/checkout@v2
72+
- uses: actions/checkout@v2
73+
74+
- name: Setup NPM
75+
uses: pnpm/action-setup@v2
7376
with:
74-
fetch-depth: 0
77+
version: 9.2.0
78+
node-version: ${{ matrix.node-version }}
79+
cache: "pnpm"
80+
- run: pnpm install
7581

7682
- name: Setup Java and Scala
7783
uses: olafurpg/setup-scala@v10

0 commit comments

Comments
 (0)