Skip to content

Commit

Permalink
Attempt continued
Browse files Browse the repository at this point in the history
  • Loading branch information
zyc9012 committed Mar 12, 2024
1 parent 7d2266f commit d49625b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build

on: [push, pull_request]
on: [push]

jobs:
build:
Expand Down Expand Up @@ -73,12 +73,8 @@ jobs:
- name: Run smoke tests
env:
SERPAPI_TEST_KEY: ${{ secrets.SERPAPI_TEST_KEY }}
NODE_OPTIONS: --use-openssl-ca
run: |
cd smoke_tests/commonjs
if [ "$(node -v)" == "v7.10.1" ]; then
sed -i.orig -e 's/node commonjs.js/node --use-openssl-ca commonjs.js/' package.json
fi
npm i
npm test
Expand Down
2 changes: 1 addition & 1 deletion examples/node/js_node_14_up/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"serpapi": "*"
},
"scripts": {
"start": "node basic_example.js"
"start": "node --use-openssl-ca basic_example.js"
}
}
2 changes: 1 addition & 1 deletion examples/node/js_node_7_up/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"serpapi": "*"
},
"scripts": {
"start": "node basic_example.js"
"start": "node --use-openssl-ca basic_example.js"
}
}

0 comments on commit d49625b

Please sign in to comment.