Skip to content

Commit

Permalink
run node 10 test separate
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak committed Jan 6, 2025
1 parent 1fdf74c commit 200eb9a
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,36 @@ on:
- '*.md'

jobs:
test-regression-check-node10:
name: Test compatibility with Node.js 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- uses: actions/setup-node@v4
with:
node-version: '10'
cache: 'npm'
cache-dependency-path: package.json
check-latest: true

- name: Install
run: |
npm install --ignore-scripts
- name: Run tests
run: |
npm run test:unit
env:
NODE_OPTIONS: no-network-family-autoselection

test:
needs:
- test-regression-node10
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5
with:
license-check: true
lint: true
node-versions: '["10", "12", "14", "16", "18", "20", "22"]'
node-versions: '["16", "18", "20", "22"]'

0 comments on commit 200eb9a

Please sign in to comment.