fix(ci): ipfs-webui test
- ipfs-webui requires node =16.12.0 https://app.circleci.com/pipelines/github/ipfs/kubo/7228/workflows/528ee100-ccc9-4e9c-8bb4-46cdbbe4e306/jobs/78516 - use package-lock.json for deterministic build
Marcin Rataj committed
Jul 8, 2022 at 22:40 UTC
839b0848aec623ca68975efe7b628b06054074bf
1 file changed
+3
-3
.circleci/main.yml
+3
-3
@@ -52,7 +52,7 @@ executors:
52
<<: *default_environment
53
node-browsers:
54
docker:
55
- - image: circleci/node:14-browsers
55
+ - image: circleci/node:16.12.0-browsers
56
working_directory: ~/ipfs/kubo
57
environment:
58
<<: *default_environment
@@ -347,7 +347,7 @@ jobs:
347
- run:
348
name: Installing dependencies
349
command: |
350
- npm install
350
+ npm ci --prefer-offline --no-audit --progress=false --cache ~/ipfs/kubo/.cache/npm
351
npx playwright install
352
working_directory: ~/ipfs/kubo/ipfs-webui
353
- run:
@@ -365,7 +365,7 @@ jobs:
365
key: v1-ipfs-webui-{{ checksum "~/ipfs/kubo/ipfs-webui/package-lock.json" }}
366
paths:
367
- ~/.cache/ms-playwright
368
- - ~/ipfs/kubo/ipfs-webui/node_modules
368
+ - ~/ipfs/kubo/.cache/npm
369
# We only run build as a test here. DockerHub images are built and published
370
# by GitHub Action now: https://github.com/ipfs/kubo/pull/8467
371
docker-build: