Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mits87 committed Feb 3, 2021
1 parent cc72e0c commit 877b778
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,30 @@ jobs:
- run: npm ci
- run: npm test

publish-to-npmjs:
publish-to-github:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish --access public
registry-url: https://npm.pkg.github.com/
scope: '@mits87'
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Setup .npmrc file to publish to GitHub Packages
publish-to-npmjs:
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/
scope: '@mits87'
- run: npm publish
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_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": "disposable-email-provider-domains",
"version": "1.0.1",
"version": "1.0.2",
"description": "A package with disposable email provider domains",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 877b778

Please sign in to comment.