Skip to content

Commit 9f92a18

Browse files
authored
Merge pull request #1622 from cosmos/upgrade-yarn-test2
Upgrade yarn to fix CI builds
2 parents e819a1f + 8191771 commit 9f92a18

File tree

1,618 files changed

+26391
-29928
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,618 files changed

+26391
-29928
lines changed

.circleci/config.yml

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ workflows:
3434
- build
3535
matrix:
3636
parameters:
37-
node-version: ["16", "18", "20"]
37+
node-version: ["18", "20"]
3838
- test-chrome:
3939
requires:
4040
- build
@@ -46,7 +46,7 @@ workflows:
4646
jobs:
4747
build:
4848
docker:
49-
- image: circleci/node:16.13-bullseye
49+
- image: cimg/node:18.20
5050
steps:
5151
- run:
5252
name: Install Git Large File Storage (LFS)
@@ -57,7 +57,9 @@ jobs:
5757
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
5858
- run:
5959
name: Install libusb
60-
command: sudo apt-get install libusb-1.0-0-dev
60+
command: |
61+
sudo apt update
62+
sudo apt install libusb-1.0-0-dev
6163
- run:
6264
name: Install Dependencies
6365
command: yarn install --immutable --immutable-cache --check-cache
@@ -78,8 +80,9 @@ jobs:
7880
# As a consequence, we cannot use the circleci CLI for this job because "You cannot use the machine
7981
# executor in local jobs." (https://circleci.com/docs/2.0/local-cli/#limitations-of-running-jobs-locally)
8082
#
81-
# Available images: https://circleci.com/docs/2.0/configuration-reference/#available-machine-images
82-
image: ubuntu-2004:202107-02
83+
# Available images: https://circleci.com/developer/machine/image/ubuntu-2004
84+
# Note that ubuntu-2004:202111-02 and above cause checksum issues when installing yarn packages. No idea why.
85+
image: ubuntu-2004:202111-02
8386
steps:
8487
- run:
8588
name: Install Git Large File Storage (LFS)
@@ -213,8 +216,9 @@ jobs:
213216
# As a consequence, we cannot use the circleci CLI for this job because "You cannot use the machine
214217
# executor in local jobs." (https://circleci.com/docs/2.0/local-cli/#limitations-of-running-jobs-locally)
215218
#
216-
# Available images: https://circleci.com/docs/2.0/configuration-reference/#available-machine-images
217-
image: ubuntu-2004:202107-02
219+
# Available images: https://circleci.com/developer/machine/image/ubuntu-2004
220+
# Note that ubuntu-2004:202111-02 and above cause checksum issues when installing yarn packages. No idea why.
221+
image: ubuntu-2004:202111-02
218222
resource_class: large
219223
steps:
220224
- run:
@@ -259,7 +263,6 @@ jobs:
259263
# `apt download --print-uris nodejs` to get a download URL.
260264
command: |
261265
declare -A node_links=(
262-
["16"]="https://deb.nodesource.com/node_16.x/pool/main/n/nodejs/nodejs_16.20.2-1nodesource1_amd64.deb"
263266
["18"]="https://deb.nodesource.com/node_18.x/pool/main/n/nodejs/nodejs_18.17.1-1nodesource1_amd64.deb"
264267
["20"]="https://deb.nodesource.com/node_20.x/pool/main/n/nodejs/nodejs_20.6.0-1nodesource1_amd64.deb"
265268
)
@@ -346,8 +349,9 @@ jobs:
346349
# As a consequence, we cannot use the circleci CLI for this job because "You cannot use the machine
347350
# executor in local jobs." (https://circleci.com/docs/2.0/local-cli/#limitations-of-running-jobs-locally)
348351
#
349-
# Available images: https://circleci.com/docs/2.0/configuration-reference/#available-machine-images
350-
image: ubuntu-2004:202107-02
352+
# Available images: https://circleci.com/developer/machine/image/ubuntu-2004
353+
# Note that ubuntu-2004:202111-02 and above cause checksum issues when installing yarn packages. No idea why.
354+
image: ubuntu-2004:202111-02
351355
resource_class: large
352356
steps:
353357
- browser-tools/install-chrome # Slow because apt update but what can you do 🤷‍
@@ -455,8 +459,9 @@ jobs:
455459
# As a consequence, we cannot use the circleci CLI for this job because "You cannot use the machine
456460
# executor in local jobs." (https://circleci.com/docs/2.0/local-cli/#limitations-of-running-jobs-locally)
457461
#
458-
# Available images: https://circleci.com/docs/2.0/configuration-reference/#available-machine-images
459-
image: ubuntu-2004:202107-02
462+
# Available images: https://circleci.com/developer/machine/image/ubuntu-2004
463+
# Note that ubuntu-2004:202111-02 and above cause checksum issues when installing yarn packages. No idea why.
464+
image: ubuntu-2004:202111-02
460465
resource_class: large
461466
steps:
462467
- run:
@@ -560,7 +565,7 @@ jobs:
560565
./scripts/wasmd/stop.sh
561566
docs-build:
562567
docker:
563-
- image: circleci/node:16.13-bullseye
568+
- image: cimg/node:18.20
564569
steps:
565570
- run:
566571
name: Install Git Large File Storage (LFS)
@@ -576,7 +581,9 @@ jobs:
576581
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
577582
- run:
578583
name: Install libusb
579-
command: sudo apt-get install libusb-1.0-0-dev
584+
command: |
585+
sudo apt update
586+
sudo apt install libusb-1.0-0-dev
580587
- run:
581588
name: Install Dependencies
582589
command: yarn install --immutable --immutable-cache --check-cache
@@ -591,7 +598,7 @@ jobs:
591598
paths: docs_deployment
592599
docs-deploy:
593600
docker:
594-
- image: circleci/node:16.13-bullseye
601+
- image: cimg/node:18.20
595602
steps:
596603
- attach_workspace:
597604
at: .
@@ -609,7 +616,7 @@ jobs:
609616
command: npx [email protected] --message "Update docs [skip ci]" --dist docs_deployment --user "CI deployment <[email protected]>" --repo "[email protected]:cosmos/cosmjs.git"
610617
lint:
611618
docker:
612-
- image: circleci/node:16.13-bullseye
619+
- image: cimg/node:18.20
613620
steps:
614621
- run:
615622
name: Install Git Large File Storage (LFS)
@@ -631,7 +638,9 @@ jobs:
631638
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
632639
- run:
633640
name: Install libusb
634-
command: sudo apt-get install libusb-1.0-0-dev
641+
command: |
642+
sudo apt update
643+
sudo apt install libusb-1.0-0-dev
635644
- run:
636645
name: Install Dependencies
637646
command: yarn install --immutable --immutable-cache --check-cache
@@ -655,8 +664,7 @@ jobs:
655664
sudo apt install git-lfs
656665
- checkout
657666
- setup_remote_docker:
658-
# >= v20.10 https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2
659-
version: 20.10.11
667+
version: default
660668
- run:
661669
name: Build faucet Docker image
662670
# Use ${CIRCLE_TAG}

0 commit comments

Comments
 (0)