mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
chore: build on node 14 and drop node 8 and 32bit linux builds (#2079)
- Build binaries on node 14 and test on node 14 - Node 14 is no longer being built for 32bit linux, not much I can do. - Node 8 is out of LTS so it’s gone https://github.com/nodejs/Release#release-schedule BREAKING CHANGE: Dropping node 8 and 32bit linux builds
This commit is contained in:
parent
485b6155c4
commit
e0c232c77a
6 changed files with 7 additions and 12 deletions
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
|
@ -10,10 +10,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js 12
|
||||
- name: Use Node.js 14
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 14
|
||||
- name: upgrade npm
|
||||
run: npm install -g npm
|
||||
- name: npm install
|
||||
|
|
|
|||
2
.github/workflows/test-merge.yml
vendored
2
.github/workflows/test-merge.yml
vendored
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
# chances are that we'll never break on a merge to master on just one version of node
|
||||
node-version: [12.x]
|
||||
node-version: [14.x]
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
|
|
|||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [8.x, 10.x, 12.x]
|
||||
node-version: [10.x, 12.x, 14.x]
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
|
|
|||
|
|
@ -19,12 +19,7 @@ env:
|
|||
global:
|
||||
- secure: "L+AGMJc5NAsuym+xzB4FWj0c2rCobosixkoxLBhDBVkLiYsMtfS9y1w8Xz0pbWKJnJAH9tfwHluu5aX2qYk2HbreSyNzy8hbPW+9RbSyAQexeiZG4mLuDEz0xvlpCCQBsS1OfMypQk0/JvL4oA9B/xasrpkeVuPI7dwAz2WcFms="
|
||||
matrix:
|
||||
- BINARY_BUILDER="true" TRAVIS_NODE_VERSION="8"
|
||||
- BINARY_BUILDER="true" TRAVIS_NODE_VERSION="8" ARCH="x86"
|
||||
matrix:
|
||||
exclude:
|
||||
- os: osx
|
||||
env: BINARY_BUILDER="true" TRAVIS_NODE_VERSION="8" ARCH="x86"
|
||||
- BINARY_BUILDER="true" TRAVIS_NODE_VERSION="14"
|
||||
|
||||
before_install:
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ environment:
|
|||
secure: iDcAJCYgJK4tffyzEHbMVR8DatJcIN8eY0h29p9JQkl43TcEcm6Z6JLOBpGDk1MJ
|
||||
|
||||
matrix:
|
||||
- nodejs_version: "8"
|
||||
- nodejs_version: "14"
|
||||
binary_builder: "true"
|
||||
|
||||
platform:
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ listLinux.emit = () => {
|
|||
}
|
||||
|
||||
listLinux.reset = () => {
|
||||
mockPorts = {}
|
||||
mockPorts = undefined
|
||||
}
|
||||
|
||||
module.exports = listLinux
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue