Skip to content

Commit

Permalink
test: Run with node 14 (#208)
Browse files Browse the repository at this point in the history
* test: Run with node 14

* chore: fix typo in azure-pipelines definition

* add changeset
  • Loading branch information
eps1lon authored Apr 22, 2020
1 parent 4509247 commit e79f620
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/afraid-chefs-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"dom-accessibility-api": patch
---

Add support for node 14
14 changes: 10 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,19 @@ pool:
# but it let's us use a single job. No need to split up jobs yet
strategy:
matrix:
# active node versions
# active node versions, remove once they reached their EOL
# EOL: 2021-04-30
node_10_x:
node_version: 10.x
# EOL: 2022-04-30
node_12_x:
node_version: 12.x
# EOL: 2020-06-01
node_13_x:
node_version: 13.x
# EOL: 2023-04-30
node_14_x:
node_version: 14.x

steps:
- task: NodeTool@0
Expand Down Expand Up @@ -63,9 +69,9 @@ steps:
- script: yarn start
displayName: "ES modules in node smoke tests of build"
workingDirectory: tests/build/fixtures/node-es-modules
# in node 12 we need to use a flag and I'm to lazy to branch even further
# running in node 13 is hopefully a sufficient smoke test
condition: startsWith(variables['node_version'], '13.')
# in node 12 we need to use a flag and I'm too lazy to branch even further
# running in node >= 13 is hopefully a sufficient smoke test
condition: or(startsWith(variables['node_version'], '13.'), startsWith(variables['node_version'], '14.'))

- script: yarn test:ci
displayName: "Run jest tests"
Expand Down

0 comments on commit e79f620

Please sign in to comment.