Skip to content

Commit

Permalink
feat: Drop node 13 (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Jun 15, 2020
1 parent fa53c51 commit f7c1981
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
12 changes: 12 additions & 0 deletions .changeset/polite-apricots-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"dom-accessibility-api": patch
---

Drop node 13 support

We only stopped testing. Probability of breakage should be very low.

**New policy**:

> Only [active node versions](https://nodejs.org/en/about/releases/) are supported.
> Inactive node versions can stop working in a SemVer MINOR release.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ your eye please open an issue.

## Supported environments

WARNING: Only [active node versions](https://nodejs.org/en/about/releases/) are supported.
Inactive node versions can stop working in a SemVer MINOR release.

```bash
ie 11
edge >= 14
Expand Down
10 changes: 5 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ strategy:
# 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
# Release: 2020-10-21
# node_15_x:
# node_version: 15.x

steps:
- task: NodeTool@0
Expand Down Expand Up @@ -96,8 +96,8 @@ steps:
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 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.'))
# not running in node < 13 is hopefully a sufficient smoke test
condition: not(or(startsWith(variables['node_version'], '10.'), startsWith(variables['node_version'], '12.')))

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

0 comments on commit f7c1981

Please sign in to comment.