Skip to content

Commit

Permalink
Remove publish to GitHub registry
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiodxa committed May 12, 2020
1 parent d9f7c20 commit 3475cac
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
verdaccio:
name: Publish Verdaccio
name: Publish to Able Registry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -26,24 +26,3 @@ jobs:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
github:
name: Publish GitHub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- run: yarn install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.secrets.GITHUB_TOKEN}}

0 comments on commit 3475cac

Please sign in to comment.