From 479bf99aad4815450f6ddf53712327d2c1ce1895 Mon Sep 17 00:00:00 2001 From: Siim Kallas Date: Sat, 30 Sep 2023 20:48:42 +0300 Subject: [PATCH] test centos 8 --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8dd67430..2f481eb5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -152,17 +152,19 @@ jobs: strategy: fail-fast: false matrix: - nodejs: [14, 16] + container: ['centos:7', 'centos:8'] include: - container: 'centos:7' - - cmd: 'curl -sL https://rpm.nodesource.com/setup_${NODE_VERSION}.x | bash - && yum install -y nodejs' + nodejs: [14, 16] + - container: 'centos:8' + nodejs: [16, 18, 20] name: Centos check - ${{ matrix.container }} - Node.js ${{ matrix.nodejs }} container: ${{ matrix.container }} env: NODE_VERSION: ${{ matrix.nodejs }} steps: - name: Setup container - run: ${{ matrix.cmd }} + run: curl -sL https://rpm.nodesource.com/setup_${NODE_VERSION}.x | bash - && yum install -y nodejs - name: Checkout uses: actions/checkout@v3 - name: Download @@ -170,7 +172,7 @@ jobs: - name: copy prebuilds run: | mkdir -p prebuilds - #cp -r prebuilds-linux/* prebuilds + cp -r prebuilds-linux/* prebuilds - name: Install npm dependencies run: npm ci --ignore-scripts --no-optional --loglevel verbose - name: Run tests