Skip to content

Commit

Permalink
Prepared for release
Browse files Browse the repository at this point in the history
  • Loading branch information
SasheVuchkov committed Dec 2, 2021
1 parent ed07022 commit c67c944
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
jobs:
run-all-tests:
runs-on: ubuntu-latest
environment: production
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
Expand All @@ -20,6 +21,7 @@ jobs:
publish:
needs: run-all-tests
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand All @@ -28,4 +30,6 @@ jobs:
- name: Build
run: npm install -g yarn & yarn install
- name: Publish
run: npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} & publish
run: npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
- name: Publish
run: npm publish
4 changes: 3 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ __tests__/coverage
coverage
.eslintcache
__tests__
./src
src
src/*
.github
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "near-duplicate-docs",
"version": "1.1.1",
"version": "1.1.8",
"description": "Simple library for finding duplicate and near-duplicate text documents in massive sets/libraries/databases",
"main": "dist/index.js",
"author": "Sashe Vuchkov <sashe@buahlbu.com>",
Expand Down

0 comments on commit c67c944

Please sign in to comment.