diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index a8f5995..a7565ae 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -5,26 +5,16 @@ on: types: [created] jobs: - build: + publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: 12 - - run: npm ci + node-version: 10 + - run: npm install - run: npm test - - publish-gpr: - needs: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: JS-DevTools/npm-publish@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}} + access: public + token: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 1f866de..7748258 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@forbole/big-dipper-default-ui", - "version": "1.0.0", + "name": "big-dipper-default-ui", + "version": "0.1.0-alpha", "description": "Big dipper component library", "author": "forbole", "license": "MIT",