Skip to content

Commit

Permalink
Basic implementation of the matcher
Browse files Browse the repository at this point in the history
Signed-off-by: Alessandro Sanino <alessandro@sanino.dev>
  • Loading branch information
saniales committed Sep 23, 2020
1 parent 61e5b94 commit 23f3184
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 25 deletions.
29 changes: 8 additions & 21 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: npm test
node-version: 14
- run: yarn install --frozen-lockfile
#- run: yarn test

publish-npm:
needs: build
Expand All @@ -25,23 +25,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
always-auth: true
- run: yarn install --frozen-lockfile
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

publish-gpr:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
20 changes: 16 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
{
"name": "gestalt-pattern-matcher",
"version": "0.0.5",
"repository": "https://github.com/saniales/gestalt-pattern-matcher",
"version": "0.0.9",
"repository": {
"type": "git",
"url": "git@github.com:saniales/gestalt-pattern-matcher.git"
},
"homepage": "https://github.com/saniales/gestalt-pattern-matcher",
"bugs": {
"url": "https://github.com/saniales/gestalt-pattern-matcher/issues"
},
"author": {
"name": "Alessandro Sanino",
"email": "alessandro@sanino.dev",
"url": "https://alessandro.sanino.dev"
},
"description": "Finds the similarity between strings and represents it as a number",
"keywords": [ "pattern-matching", "gestalt", "string-similarity", "similarity" ],
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepublish": "tsc"
},
"author": "Alessandro Sanino",
"license": "MIT",
"devDependencies": {
"typescript": "^4.0.3"
}
Expand Down

0 comments on commit 23f3184

Please sign in to comment.