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 45cdb56
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 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 @@ -38,16 +38,25 @@ jobs:
node: [12.x, 14.x, 16.x, 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: Setup Python 2.7
if: matrix.node == '12.x' || matrix.node == '14.x'
run: |
sudo apt-get update
sudo apt-get install -y python2.7
npm config set python python2.7
- name: Install dependencies
run: npm install
Expand Down

0 comments on commit 45cdb56

Please sign in to comment.