Skip to content

Commit

Permalink
v4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlemon committed May 30, 2021
1 parent 7c85111 commit e950c6c
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 30 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-alpine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,16 @@ jobs:
include:
- node: 12
alpine: '3.9'
prebuild: true
- node: 14
alpine: '3.10'
prebuild: false
- node: 15
alpine: '3.10'
prebuild: false
- node: 16
alpine: '3.11'
prebuild: false

steps:
- name: Install System Dependencies
Expand Down Expand Up @@ -84,14 +88,13 @@ jobs:
- name: Build
run: |
yarn build:ts
yarn build:cpp
yarn build:ts
- name: Test
run: |
yarn test
- name: Upload Build
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && matrix.prebuild
run: |
yarn build:cpp --upload "${{ secrets.GITHUB_TOKEN }}"
19 changes: 11 additions & 8 deletions .github/workflows/build-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,15 @@ jobs:
strategy:
fail-fast: false
matrix:
node:
- 12
- 14
- 15
- 16
include:
- node: 12
prebuild: true
- node: 14
prebuild: false
- node: 15
prebuild: false
- node: 16
prebuild: false

steps:
- name: Install System Dependencies
Expand Down Expand Up @@ -82,14 +86,13 @@ jobs:
- name: Build
run: |
yarn build:ts
yarn build:cpp
yarn build:ts
- name: Test
run: |
yarn test
- name: Upload Build
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && matrix.prebuild
run: |
yarn build:cpp --upload "${{ secrets.GITHUB_TOKEN }}"
19 changes: 11 additions & 8 deletions .github/workflows/build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,15 @@ jobs:
strategy:
fail-fast: false
matrix:
node:
- 12
- 14
- 15
- 16
include:
- node: 12
prebuild: true
- node: 14
prebuild: false
- node: 15
prebuild: false
- node: 16
prebuild: false

steps:
- name: Checkout Latest Commit
Expand Down Expand Up @@ -74,14 +78,13 @@ jobs:
- name: Build
run: |
yarn build:ts
yarn build:cpp
yarn build:ts
- name: Test
run: |
yarn test
- name: Upload Build
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && matrix.prebuild
run: |
yarn build:cpp --upload "${{ secrets.GITHUB_TOKEN }}"
9 changes: 6 additions & 3 deletions .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,16 @@ jobs:
include:
- node: 12
os: windows-2016
prebuild: true
- node: 14
os: windows-2016
prebuild: false
- node: 15
os: windows-2019
prebuild: false
- node: 16
os: windows-2019
prebuild: false

steps:
- name: Checkout Latest Commit
Expand Down Expand Up @@ -78,14 +82,13 @@ jobs:
- name: Build
run: |
yarn build:ts
yarn build:cpp
yarn build:ts
- name: Test
run: |
yarn test
- name: Upload Build
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && matrix.prebuild
run: |
yarn build:cpp --upload "${{ secrets.GITHUB_TOKEN }}"
13 changes: 10 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ jobs:
- name: Checkout Latest Commit
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 1

- name: Setup Node.js
uses: actions/setup-node@v2.1.5
with:
registry-url: 'https://registry.npmjs.org'
always-auth: true

- name: Remove Install Command
run: |
mv package.json package-original.json
Expand All @@ -37,16 +44,16 @@ jobs:
rm package.json
mv package-original.json package.json
- name: Build TypeScript
- name: Build
run: |
yarn build:cpp
yarn build:ts
- name: Test
run: |
yarn test
- name: Publish
run: |
yarn publish --non-interactive
yarn publish --non-interactive --verbose
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "confusablematcher-js-interop",
"description": "TypeScript NAPI Interop for ConfusableMatcher.",
"version": "4.0.2",
"version": "4.3.0",
"license": "MIT",
"contributors": [
"TETYYS",
Expand All @@ -15,10 +15,12 @@
"CMakeLists.txt",
"build/src",
"!build/src/ConfusableMatcher",
"src/*.cpp",
"src/*.h",
"src/ConfusableMatcher",
"!src/ConfusableMatcher/**/*.git*"
"src",
"!src/benchmark",
"!src/examples",
"!src/ConfusableMatcher/bin",
"!src/ConfusableMatcher/CMakeFiles",
"!src/ConfusableMatcher/sparsehash/build"
],
"engines": {
"node": ">=12.0.0"
Expand Down

0 comments on commit e950c6c

Please sign in to comment.