diff --git a/.github/workflows/yarn-npmjs-publish.yml b/.github/workflows/yarn-npmjs-publish.yml new file mode 100644 index 0000000..1034fbd --- /dev/null +++ b/.github/workflows/yarn-npmjs-publish.yml @@ -0,0 +1,17 @@ +name: Publish docs-differ to npmjs +on: + release: + types: [created] +jobs: + yarn-publish-npmjs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + # Setup .npmrc file to publish to npm + - uses: actions/setup-node@v2 + with: + node-version: '12' + registry-url: 'https://registry.npmjs.org' + - run: yarn publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index f94e35e..e150fc4 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,14 @@ { "name": "docs-differ", - "version": "1.0.6", - "description": "diffs two websites, built for react-spectrum docs site", + "version": "1.1.0-alpha", + "description": "Crawls and visually diffs two websites, built for @adobe/react-spectrum docs site.", "license": "Apache-2.0", - "homepage": ".", + "homepage": "https://github.com/ktabors/docs-differ", + "bugs": "https://github.com/ktabors/docs-differ/issues", + "repository": { + "url": "https://github.com/ktabors/docs-differ", + "type": "git" + }, "scripts": { "clean": "rm -rf node_modules", "run-differ": "node src/differ.js",