Skip to content

Commit

Permalink
test centos 8
Browse files Browse the repository at this point in the history
  • Loading branch information
seemk committed Sep 30, 2023
1 parent 3dceda0 commit 479bf99
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,25 +152,27 @@ 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
uses: actions/download-artifact@v3
- 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
Expand Down

0 comments on commit 479bf99

Please sign in to comment.