Skip to content

Commit

Permalink
pkg: fix github ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
nodech committed Oct 5, 2024
1 parent 6527838 commit 20a2d64
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.x

Expand All @@ -34,20 +34,28 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [12.x, 14.x, 16.x, 18.x]
include:
- os: ubuntu-20.04
node-version: 12.x
- os: ubuntu-20.04
node-version: 14.x
- os: ubuntu-latest
node-version: 16.x
- os: ubuntu-latest
node-version: 18.x

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- name: Install libunbound
if: contains(matrix.os, 'ubuntu')
run: sudo apt-get update && sudo apt-get install -y libunbound-dev
run: |
sudo apt-get update
sudo apt-get install -y libunbound-dev
- name: Install dependencies
run: npm install
Expand Down

0 comments on commit 20a2d64

Please sign in to comment.