Skip to content

Commit

Permalink
update-workflows (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuash authored Feb 1, 2021
1 parent b0513f8 commit a911ac5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Node.js Package

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: npm test

publish-gpr:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@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}}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "big-dipper-internal-ui",
"name": "@forbole/big-dipper-internal-ui",
"version": "1.0.0",
"description": "Component library for big dipper default interface",
"author": "ryuash",
"description": "big dipper internal ui",
"author": "forbole",
"license": "MIT",
"repository": "ryuash/big-dipper-internal-ui",
"repository": "forbole/big-dipper-internal-ui",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.tsx",
Expand Down

0 comments on commit a911ac5

Please sign in to comment.