Skip to content

Commit

Permalink
ci: change node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Cafe137 committed Oct 31, 2023
1 parent 90f3b80 commit 8c62e5b
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [18.x, 20.x]

steps:
- name: Checkout
Expand All @@ -40,22 +40,7 @@ jobs:

# Start Bee Factory environment
- name: Start Bee Factory environment
if: matrix.node-version != '18.x'
run: npm run bee -- --verbose --detach

# Start Bee Factory environment for Node 18
- name: Start Bee Factory environment for Node 18
if: matrix.node-version == '18.x'
env:
NODE_OPTIONS: '--no-experimental-fetch'
run: npm run bee -- --verbose --detach

- name: Tests Node 18
if: matrix.node-version == '18.x'
env:
NODE_OPTIONS: '--no-experimental-fetch'
run: npm run test

- name: Tests non-Node 18
if: matrix.node-version != '18.x'
- name: Tests
run: npm run test

0 comments on commit 8c62e5b

Please sign in to comment.