Skip to content

Commit

Permalink
build: add publish GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
pwmcintyre authored Jul 1, 2020
1 parent 7de56f5 commit e9f1fff
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish

on:
release:
types: [published]

jobs:
build:
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 install
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dexlog",
"version": "1.0.2",
"version": "1.0.4",
"description": "a logger for developers",
"homepage": "https://github.com/pwmcintyre/dexlog",
"repository": {
Expand Down

0 comments on commit e9f1fff

Please sign in to comment.