Skip to content

Commit

Permalink
Merge hotfix/publishing-packages into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored May 27, 2021
2 parents 8a30cd5 + 5b0b69a commit bafa6ab
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,20 @@ jobs:
if: contains(github.event.pull_request.labels.*.name, 'release')
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: 'https://registry.npmjs.org'
registry-url: 'https://registry.npmjs.org/'
scope: '@vue-storefront'

- run: echo "registry=https://npm.pkg.github.com/@vue-storefront" >> .npmrc

- name: Get cached dependencies
uses: actions/cache@v2
with:
Expand All @@ -41,7 +43,7 @@ jobs:

- name: Publish Packages
shell: bash
run: yarn publish:packages "${{ join(github.event.pull_request.labels.*.name, '|') }}" "$NODE_AUTH_TOKEN"
run: yarn publish:packages "${{ join(github.event.pull_request.labels.*.name, '|') }}" "$NPM_TOKEN"

automerge:
needs: publishing
Expand Down

0 comments on commit bafa6ab

Please sign in to comment.