Skip to content

Commit 33eaaae

Browse files
committed
Setup to use package-lock.json for reproducible CI
1 parent b575012 commit 33eaaae

File tree

4 files changed

+1364
-1
lines changed

4 files changed

+1364
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
with:
2626
node-version: 12
2727
- name: Install jsdom
28-
run: npm install "jsdom@${{ matrix.jsdomversion }}"
28+
env:
29+
V: ${{ matrix.jsdomversion }}
30+
run: (cd jsdom-$V && npm ci) && ln -s jsdom-$V/node_modules
2931
- name: Unit tests
3032
run: sbt "++${{ matrix.scalaversion }}" scalajs-env-jsdom-nodejs/test
3133
- name: Doc generation

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
target/
2+
node_modules

0 commit comments

Comments
 (0)