fix secret name

This commit is contained in:
Marin Petrunić 2020-09-03 14:06:31 +02:00
parent c5dac93733
commit f9d56d8c87
No known key found for this signature in database
GPG Key ID: 834D07135E110DA5

View File

@ -38,20 +38,18 @@ jobs:
always-auth: true
registry-url: 'https://registry.npmjs.org'
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Install dependencies
run: yarn install --frozen-lockfile --non-interactive
- name: Build packages
run: yarn run build
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > ~/.npmrc
- name: Publish packages
# manual switch to latest
run: yarn publish --ignore-scripts --no-git-tag-version --no-commit-hooks --non-interactive --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Get Changelog Entry
id: changelog_reader