Skip to content

Commit b06dcd8

Browse files
Upgrade node version to fix build in main (#794)
Upgrade node version to fix build in `main` (#794)
1 parent b70b372 commit b06dcd8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/rust.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,20 @@ jobs:
7777
runs-on: ubuntu-latest # proprietary github image, not ubuntu:latest
7878
container:
7979
image: ubuntu:latest # actual ubuntu:latest that ubuntu publishes
80+
env:
81+
DEBIAN_FRONTEND: "noninteractive"
8082
steps:
8183
- uses: actions/checkout@v3
8284
- name: Install dependencies
8385
run: |
86+
cat /etc/*-release
8487
apt-get -qq update
85-
apt-get -qq install -y nodejs npm
88+
apt-get -qq upgrade
89+
apt-get -qq install -y curl
90+
curl -fsSL https://deb.nodesource.com/setup_18.x | bash
91+
apt-get -qq update
92+
apt-get -qq install -y nodejs
8693
npm install -g yarn
87-
cat /etc/*-release
8894
which node
8995
which npm
9096
which yarn

0 commit comments

Comments
 (0)