Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patial fix for issue #394 vulnerabilities in dependencies reported by npm audit #396

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
44 changes: 39 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ jobs:
- name: Run demo expect 403 code 📊
run: npm run demo-expect-403

tests-node-v16:
tests-node-v18:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Node version 🖨️
run: node -v
Expand All @@ -90,6 +90,9 @@ jobs:
- name: Run json-server test
run: npm run demo-json-server

- name: Run ::1 host example
run: npm run demo-ip6

- name: Run explicit 0.0.0.0 host example
run: npm run demo-zero-explicit

Expand All @@ -99,15 +102,46 @@ jobs:
- name: Run 0.0.0.0 host example
run: npm run demo-zero

tests-node-v18:
tests-node-v20:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20

- name: Node version 🖨️
run: node -v

- name: NPM install
uses: bahmutov/npm-install@v1

- name: Run json-server test
run: npm run demo-json-server

- name: Run ::1 host example
run: npm run demo-ip6

- name: Run explicit 0.0.0.0 host example
run: npm run demo-zero-explicit

- name: Run 0.0.0.0 host with 127.0.0.1 url
run: npm run demo-zero-127

- name: Run 0.0.0.0 host example
run: npm run demo-zero

tests-node-v22:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 22

- name: Node version 🖨️
run: node -v
Expand All @@ -131,7 +165,7 @@ jobs:
run: npm run demo-zero

release:
needs: ['tests1', 'tests2', 'tests-node-v16', 'tests-node-v18']
needs: ['tests1', 'tests2', 'tests-node-v18', 'tests-node-v20', 'tests-node-v22']
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
Expand Down
Loading