Skip to content

Commit

Permalink
Merge branch 'master' of github.com:maapteh/react-no-ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
maapteh committed Nov 24, 2019
2 parents 81fea98 + 6783a62 commit 82d64ed
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Node.js Package

on:
release:
types: [created]

jobs:

publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
scope: '@mpth'
- run: yarn
- run: |
yarn test
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mpth/react-no-ssr",
"version": "0.0.7",
"version": "0.0.8",
"description": "React component to wrap non SSR components.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 82d64ed

Please sign in to comment.