Skip to content

Commit

Permalink
chore: update dependencies and build
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 committed Nov 11, 2021
1 parent 6d7196f commit d1f6318
Show file tree
Hide file tree
Showing 6 changed files with 673 additions and 334 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN cargo install wasm-pack
RUN cargo install wasm-pack --version 0.9.1

# https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#running-puppeteer-in-docker
RUN apt-get update \
Expand Down
55 changes: 49 additions & 6 deletions .github/workflows/build-neon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,52 @@ jobs:
toolchain: nightly
- uses: actions/setup-node@v1
with:
node-version: v16.13.0
- run: npm install -g neon-cli
node-version: v17.1.0
- shell: powershell
name: use npm 6 on node 15
run: npm install -g npm@6
if: matrix.os == 'windows-latest'
- shell: powershell
name: patch node-gyp for VS 2019
run: "npm install --global node-gyp@latest\r\nnpm prefix -g | % {npm config set node_gyp \"$_\\node_modules\\node-gyp\\bin\\node-gyp.js\"}"
if: matrix.os == 'windows-latest'
- run: npm install neon-cli rimraf
- run: ../node_modules/.bin/neon build --release
working-directory: rs
- run: 'mv rs/native/index.node dist/${{ matrix.os }}-102.node'
- uses: actions/setup-node@v1
with:
node-version: v16.13.0
- shell: powershell
name: use npm 6 on node 15
run: npm install -g npm@6
if: matrix.os == 'windows-latest'
- shell: powershell
name: patch node-gyp for VS 2019
run: "npm install --global node-gyp@latest\r\nnpm prefix -g | % {npm config set node_gyp \"$_\\node_modules\\node-gyp\\bin\\node-gyp.js\"}"
if: matrix.os == 'windows-latest'
- run: ./node_modules/.bin/rimraf rs/native/target
- run: ../node_modules/.bin/neon build --release
working-directory: rs
- run: 'mv rs/native/index.node dist/${{ matrix.os }}-93.node'
- uses: actions/setup-node@v1
with:
node-version: v14.15.1
- run: npm install -g neon-cli
node-version: v15.14.0
- shell: powershell
name: use npm 6 on node 15
run: npm install -g npm@6
if: matrix.os == 'windows-latest'
- shell: powershell
name: patch node-gyp for VS 2019
run: "npm install --global node-gyp@latest\r\nnpm prefix -g | % {npm config set node_gyp \"$_\\node_modules\\node-gyp\\bin\\node-gyp.js\"}"
if: matrix.os == 'windows-latest'
- run: ./node_modules/.bin/rimraf rs/native/target
- run: ../node_modules/.bin/neon build --release
working-directory: rs
- run: 'mv rs/native/index.node dist/${{ matrix.os }}-88.node'
- uses: actions/setup-node@v1
with:
node-version: v14.18.1
- shell: powershell
name: patch node-gyp for VS 2019
run: "npm install --global node-gyp@latest\r\nnpm prefix -g | % {npm config set node_gyp \"$_\\node_modules\\node-gyp\\bin\\node-gyp.js\"}"
Expand All @@ -46,7 +78,18 @@ jobs:
- run: 'mv rs/native/index.node dist/${{ matrix.os }}-83.node'
- uses: actions/setup-node@v1
with:
node-version: v12.20.0
node-version: v13.14.0
- shell: powershell
name: patch node-gyp for VS 2019
run: "npm install --global node-gyp@latest\r\nnpm prefix -g | % {npm config set node_gyp \"$_\\node_modules\\node-gyp\\bin\\node-gyp.js\"}"
if: matrix.os == 'windows-latest'
- run: ./node_modules/.bin/rimraf rs/native/target
- run: ../node_modules/.bin/neon build --release
working-directory: rs
- run: 'mv rs/native/index.node dist/${{ matrix.os }}-79.node'
- uses: actions/setup-node@v1
with:
node-version: v12.22.7
- shell: powershell
name: patch node-gyp for VS 2019
run: "npm install --global node-gyp@latest\r\nnpm prefix -g | % {npm config set node_gyp \"$_\\node_modules\\node-gyp\\bin\\node-gyp.js\"}"
Expand All @@ -68,7 +111,7 @@ jobs:
- run: 'mv rs/native/index.node dist/${{ matrix.os }}-67.node'
- uses: actions/setup-node@v1
with:
node-version: v10.23.0
node-version: v10.24.1
- shell: powershell
name: patch node-gyp for VS 2019
run: "npm install --global node-gyp@latest\r\nnpm prefix -g | % {npm config set node_gyp \"$_\\node_modules\\node-gyp\\bin\\node-gyp.js\"}"
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.1.6 - 2021-11-10

- build for node 16

## 2.1.5 - 2020-11-28

- fix version matching on postinstall
Expand Down
Loading

0 comments on commit d1f6318

Please sign in to comment.