Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
build(pipelines): force scoped package for GitHub Registry
Browse files Browse the repository at this point in the history
  • Loading branch information
IGassmann committed Nov 2, 2021
1 parent 697d3ba commit 8426a50
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
publish_to_github_packages:
name: Publish to GitHub packages
name: Publish to GitHub Packages
if: startsWith(github.ref, 'refs/tags/v')
needs: [ test, build-tarballs, build-installers ]
needs: [test, build-tarballs, build-installers]
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -159,6 +159,8 @@ jobs:
node-version: '14.x'
cache: yarn
registry-url: 'https://npm.pkg.github.com'
- name: Force scoped package
run: echo "registry=https://npm.pkg.github.com/@igassmann" >> .npmrc
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Publish to GitHub Packages
Expand Down

0 comments on commit 8426a50

Please sign in to comment.