Skip to content

Commit

Permalink
Get rid of the GitHub Packages publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
sebinsua authored Nov 16, 2021
1 parent e7eb459 commit 5dd6c98
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/yarn-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,4 @@ jobs:
yarn config set npmPublishRegistry 'https://registry.npmjs.org/'
yarn config set npmAuthToken "${{secrets.NPM_TOKEN}}"
yarn npm publish --access public
publish-gpr:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
scope: '@sebinsua'
- run: yarn --frozen-lockfile
- run: yarn build
- run: |
yarn config set npmPublishRegistry 'https://npm.pkg.github.com/'
yarn config set npmAuthToken "${{secrets.GITHUB_TOKEN}}"
yarn npm publish --access public

0 comments on commit 5dd6c98

Please sign in to comment.