Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 0648b5a

Browse files
authored
chore: Add Node 15 support (#2983)
1 parent e2391c2 commit 0648b5a

File tree

8 files changed

+36
-5
lines changed

8 files changed

+36
-5
lines changed

.github/workflows/alpine.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,25 @@ jobs:
1111
runs-on: ubuntu-latest
1212
container:
1313
image: node:${{ matrix.node }}-alpine${{ matrix.alpine }}
14-
env:
15-
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
1614
strategy:
1715
fail-fast: false
1816
matrix:
1917
node:
2018
- 10
2119
- 12
2220
- 14
21+
- 15
22+
2323
include:
2424
- node: 10
2525
alpine: "3.9"
2626
- node: 12
2727
alpine: "3.9"
2828
- node: 14
2929
alpine: "3.10"
30+
- node: 15
31+
alpine: "3.10"
32+
3033
steps:
3134
- name: Install Alpine build tools
3235
run: apk add --no-cache python make git gcc g++
@@ -35,6 +38,8 @@ jobs:
3538

3639
- name: Install packages
3740
run: npm install --unsafe-perm
41+
env:
42+
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
3843

3944
- name: Run tests
4045
run: npm test

.github/workflows/linux.yml

+7
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- 10
1818
- 12
1919
- 14
20+
- 15
21+
2022
include:
2123
- node: 10
2224
gcc: "gcc-4.9"
@@ -30,6 +32,11 @@ jobs:
3032
gcc: "gcc-6"
3133
gpp: "g++-6"
3234
os: ubuntu-18.04
35+
- node: 15
36+
gcc: "gcc-6"
37+
gpp: "g++-6"
38+
os: ubuntu-18.04
39+
3340
steps:
3441
- uses: actions/checkout@v2
3542

.github/workflows/macos.yml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- 10
1818
- 12
1919
- 14
20+
- 15
2021

2122
steps:
2223
- uses: actions/checkout@v2

.github/workflows/windows.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: windows-2016
11+
runs-on: ${{ matrix.os }}
1212

1313
strategy:
1414
fail-fast: false
@@ -17,6 +17,17 @@ jobs:
1717
- 10
1818
- 12
1919
- 14
20+
- 15
21+
22+
include:
23+
- node: 10
24+
os: windows-2016
25+
- node: 12
26+
os: windows-2016
27+
- node: 14
28+
os: windows-2016
29+
- node: 15
30+
os: windows-2019
2031

2132
steps:
2233
- uses: actions/checkout@v2

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Below is a quick guide for minimum and maximum support supported version of node
1717

1818
NodeJS | Supported node-sass version | Node Module
1919
--------|-----------------------------|------------
20+
Node 15 | 5.0+ | 88
2021
Node 14 | 4.14+ | 83
2122
Node 13 | 4.13+, <5.0 | 79
2223
Node 12 | 4.12+ | 72

appveyor.yml

+6
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
- nodejs_version: 14
4343
GYP_MSVS_VERSION: 2017
4444
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
45+
- nodejs_version: 15
46+
GYP_MSVS_VERSION: 2019
47+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
4548

4649
install:
4750
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
@@ -118,6 +121,9 @@
118121
- nodejs_version: 14
119122
GYP_MSVS_VERSION: 2017
120123
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
124+
- nodejs_version: 15
125+
GYP_MSVS_VERSION: 2019
126+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
121127

122128
install:
123129
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs

lib/extensions.js

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ function getHumanNodeVersion(abi) {
8080
case 72: return 'Node.js 12.x';
8181
case 79: return 'Node.js 13.x';
8282
case 83: return 'Node.js 14.x';
83+
case 88: return 'Node.js 15.x';
8384
default: return false;
8485
}
8586
}

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"lint": "eslint bin/node-sass lib scripts test",
3434
"test": "mocha test/{*,**/**}.js",
3535
"build": "node scripts/build.js --force",
36-
"prepublish": "not-in-install && node scripts/prepublish.js || in-install"
36+
"prepublishOnly ": "scripts/prepublish.js"
3737
},
3838
"files": [
3939
"bin",
@@ -59,7 +59,6 @@
5959
"gaze": "^1.0.0",
6060
"get-stdin": "^4.0.1",
6161
"glob": "^7.0.3",
62-
"in-publish": "^2.0.0",
6362
"lodash": "^4.17.15",
6463
"meow": "^3.7.0",
6564
"mkdirp": "^0.5.1",

0 commit comments

Comments
 (0)