Skip to content

Commit

Permalink
Hopefully fixed npm build and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
wreiske committed Mar 17, 2020
1 parent bb1e0f9 commit 20264e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
types: [created]

jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -17,18 +17,19 @@ jobs:
node-version: 12
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm run test

publish-npm:
needs: build
build-and-publish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mieweb/wikigdrive",
"version": "1.0.2",
"version": "1.0.3",
"description": "Google Drive to MarkDown synchronization",
"keywords": [
"GDrive",
Expand All @@ -27,8 +27,7 @@
"name": "Medical Informatics Engineering",
"url": "https://www.mieweb.com/"
},
"contributors": [
{
"contributors": [{
"name": "Doug Horner",
"email": "[email protected]",
"url": "https://github.com/horner"
Expand Down

0 comments on commit 20264e2

Please sign in to comment.