Skip to content

Commit

Permalink
feat: Node 19 support
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Oct 23, 2022
1 parent 026f577 commit 2c6b875
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
matrix:
node:
- 14
# Node 16 and 18 are perma-red for the tests right now
# Node 16+ are perma-red for the tests right now
# - 16
# - 18
# - 19

steps:
- name: Install Alpine build tools
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
gcc: "gcc-8"
gpp: "g++-8"
os: ubuntu-20.04
- node: 19
gcc: "gcc-8"
gpp: "g++-8"
os: ubuntu-20.04


steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- 14
- 16
- 18
- 19

steps:
- uses: actions/checkout@v3
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
runs-on: ${{ matrix.os }}
runs-on: windows-2019

strategy:
fail-fast: false
Expand All @@ -17,19 +17,12 @@ jobs:
- 14
- 16
- 18
- 19

architecture:
- x64
- x86

include:
- node: 14
os: windows-2019
- node: 16
os: windows-2019
- node: 18
os: windows-2019

steps:
- uses: actions/checkout@v3

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Below is a quick guide for minimum and maximum supported versions of node-sass:

NodeJS | Supported node-sass version | Node Module
--------|-----------------------------|------------
Node 19 | 8.0+ | 111
Node 18 | 8.0+ | 108
Node 17 | 7.0+, <8.0 | 102
Node 16 | 6.0+ | 93
Expand Down
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
- nodejs_version: 18
GYP_MSVS_VERSION: 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- nodejs_version: 19
GYP_MSVS_VERSION: 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019


install:
Expand Down
1 change: 1 addition & 0 deletions lib/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ function getHumanNodeVersion(abi) {
case 93: return 'Node.js 16.x';
case 102: return 'Node.js 17.x';
case 108: return 'Node.js 18.x';
case 111: return 'Node.js 19.x';
default: return false;
}
}
Expand Down

0 comments on commit 2c6b875

Please sign in to comment.