Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
fix gha
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Aug 11, 2020
1 parent 33e214d commit 2f17374
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 48 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/cd-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,20 @@ jobs:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
prerelease: false

publish-npm:
# needs: build
if: success()
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm i
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
46 changes: 0 additions & 46 deletions .github/workflows/npmpublish.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kg-dataset-previewer",
"version": "1.0.5",
"version": "1.0.6",
"description": "Preview a few manually curated datasets.",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down

0 comments on commit 2f17374

Please sign in to comment.