From d63b91f3ab011e0edfd5d42962ca1d71ebb1b095 Mon Sep 17 00:00:00 2001 From: Florian Cassayre Date: Wed, 7 Oct 2020 00:25:56 +0200 Subject: [PATCH] Fixed GitHub action --- .github/workflows/npm-publish.yml | 2 ++ package-lock.json | 2 +- package.json | 9 +++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 1b77589..3be9aef 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -13,6 +13,7 @@ jobs: with: node-version: 12 - run: npm ci + - run: npm run build - run: npm test publish-npm: @@ -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}} diff --git a/package-lock.json b/package-lock.json index 6fb5f2c..eefd10f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "read-gedcom", - "version": "0.0.5", + "version": "0.0.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 978cff4..13e06bd 100644 --- a/package.json +++ b/package.json @@ -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": [