diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95edacd..e7e788f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: jobs: test: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: matrix: name: @@ -90,12 +90,12 @@ jobs: - name: Node.js 8.x node-version: "8.17" - npm-i: mocha@7.1.2 + npm-i: mocha@7.1.2 nyc@14.1.1 npm-rm: beautify-benchmark benchmark top-sites - name: Node.js 9.x node-version: "9.11" - npm-i: mocha@7.1.2 + npm-i: mocha@7.1.2 nyc@14.1.1 npm-rm: beautify-benchmark benchmark top-sites - name: Node.js 10.x @@ -131,7 +131,10 @@ jobs: shell: bash -eo pipefail -l {0} run: | if [[ "${{ matrix.node-version }}" == 0.6* ]]; then - sudo apt-get install g++-4.8 gcc-4.8 libssl1.0-dev + sudo sh -c 'echo "deb http://us.archive.ubuntu.com/ubuntu/ bionic universe" >> /etc/apt/sources.list' + sudo sh -c 'echo "deb http://security.ubuntu.com/ubuntu bionic-security main" >> /etc/apt/sources.list' + sudo apt-get update + sudo apt-get install g++-4.8 gcc-4.8 libssl1.0-dev python2 python-is-python2 export CC=/usr/bin/gcc-4.8 export CXX=/usr/bin/g++-4.8 fi