Skip to content

Commit

Permalink
Fixed GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianCassayre committed Oct 6, 2020
1 parent fe48948 commit d63b91f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
with:
node-version: 12
- run: npm ci
- run: npm run build
- run: npm test

publish-npm:
Expand All @@ -25,6 +26,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "read-gedcom",
"description": "Gedcom file reader",
"version": "0.0.5",
"main": "dist/cjs/index.js",
"browser": "dist/umd/index.js",
"module": "dist/esm/index.js",
"version": "0.0.6",
"main": "dist/cjs/gedcom.js",
"browser": "dist/umd/gedcom.js",
"module": "dist/esm/gedcom.js",
"files": [
"src",
"dist"
],
"keywords": [
Expand Down

0 comments on commit d63b91f

Please sign in to comment.