diff --git a/.github/workflows/build-bindings.yml b/.github/workflows/build-bindings.yml index efd67dca..6a5faba9 100644 --- a/.github/workflows/build-bindings.yml +++ b/.github/workflows/build-bindings.yml @@ -142,7 +142,7 @@ jobs: - name: Run Aerospike server if: ${{ !contains(github.event.pull_request.labels.*.name, 'new-server-features') }} run: | - npm i -g @types/mocha @types/yargs @types/semver @types/chai + npm i @types/mocha @types/yargs @types/semver @types/chai docker run -d --name aerospike -p 3000-3002:3000-3002 aerospike/aerospike-server @@ -190,7 +190,7 @@ jobs: sudo apt-get install -y make; sudo apt install build-essential; ./scripts/build-c-client.sh - npm install -g + npm install env: CFLAGS: '-Werror' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cce41935..a3999f4b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -237,8 +237,8 @@ jobs: - name: Run tests run: | - npm i -g @types/mocha @types/yargs @types/semver @types/chai - npm install -g; + npm i @types/mocha @types/yargs @types/semver @types/chai + npm install; docker run -d --name aerospike -p 3000-3002:3000-3002 aerospike/aerospike-server aerospike:ce-7.2.0.1_1 sleep 10 npm run ts-test -- --h 127.0.0.1 --port 3000;