Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade dependencies #74

Merged
merged 17 commits into from
Dec 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .github/rust-ci-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,3 @@
path: /jobs/cargo-test
- op: remove
path: /jobs/coverage

# Everything needs to run in the native directory.
- op: add
path: /defaults
value:
run:
working-directory: native
6 changes: 0 additions & 6 deletions .github/rust-daily-patch.yaml

This file was deleted.

12 changes: 8 additions & 4 deletions .github/typescript-ci-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
path: /jobs/test/strategy/matrix
value:
node_version:
- "10"
- "12"
- "14"
- "16"
rust_version:
- 1.48.0
- 1.56.0
- stable
- beta
os:
Expand Down Expand Up @@ -44,7 +44,7 @@
# Only check coverage in one of the matrix job instances.
- op: add
path: /jobs/test/steps/6/if
value: ${{ contains(matrix.os, 'ubuntu') && matrix.node_version == '10' && matrix.rust_version == 'stable' && github.base_ref != '' }}
value: ${{ contains(matrix.os, 'ubuntu') && matrix.node_version == '16' && matrix.rust_version == 'stable' && github.base_ref != '' }}

# Also run on musl. That means we need to run it in a Docker container. To do that, we copy the entire job and modify its
# strategy/matrix.
Expand All @@ -54,7 +54,7 @@
- op: replace
path: /jobs/test-docker/strategy/matrix/os
value:
- ubuntu-18.04
- ubuntu-20.04
- op: add
path: /jobs/test-docker/container
value:
Expand All @@ -76,3 +76,7 @@
# No need to check test coverage here, since we do it in the first matrix build.
- op: remove
path: /jobs/test-docker/steps/7

- op: replace
path: /jobs/test/steps/6/with/afterSwitchCommand
value: yarn install --ignore-scripts && yarn run compile
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
fail-fast: false
matrix:
node_version:
- '10'
- '12'
- '14'
- '16'
os:
- macos-10.15
- ubuntu-20.04
Expand Down Expand Up @@ -69,9 +69,9 @@ jobs:
fail-fast: false
matrix:
node_version:
- '10'
- '12'
- '14'
- '16'
steps:
- run: apk add build-base git python3 wget
- uses: actions/checkout@v2
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/rust-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,3 @@ jobs:
with:
command: clippy
args: ${{ env.clippy_args }}
defaults:
run:
working-directory: native
3 changes: 0 additions & 3 deletions .github/workflows/rust-daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,3 @@ jobs:
- name: Print sccache stats
if: steps.rust-cache.outputs.cache-hit != 'true'
run: sccache -s
defaults:
run:
working-directory: native
14 changes: 7 additions & 7 deletions .github/workflows/typescript-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
strategy:
matrix:
node_version:
- '10'
- '12'
- '14'
- '16'
rust_version:
- 1.48.0
- 1.56.0
- stable
- beta
os:
Expand All @@ -45,27 +45,27 @@ jobs:
- name: Run tests
run: yarn run test
- name: Check test coverage
if: ${{ contains(matrix.os, 'ubuntu') && matrix.node_version == '10' && matrix.rust_version
if: ${{ contains(matrix.os, 'ubuntu') && matrix.node_version == '16' && matrix.rust_version
== 'stable' && github.base_ref != '' }}
uses: anuraag016/Jest-Coverage-Diff@V1.3
with:
fullCoverageDiff: false
delta: 0.2
afterSwitchCommand: yarn
afterSwitchCommand: yarn install --ignore-scripts && yarn run compile
test-docker:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version:
- '10'
- '12'
- '14'
- '16'
rust_version:
- 1.48.0
- 1.56.0
- stable
- beta
os:
- ubuntu-18.04
- ubuntu-20.04
fail-fast: false
steps:
- run: apk add build-base git python3 wget
Expand Down
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
.babelrc
npm-debug.log
yarn-error.log
native/target
native/artifacts.json
native/index.node
target
artifacts.json
dist/*
bin-package/*
build/*
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 0.8.0

### Breaking Changes

- Removed support for Node 10.

### Changed

- Added support for Node 16.
- Upgraded Recrypt to 0.13
- Upgraded to Neon's NAPI interface.

## 0.7.3

### Breaking Changes
Expand Down
Loading