From 0345aea790953b63d79124d375225d4386b2b5cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marin=20Petruni=C4=87?= Date: Thu, 3 Sep 2020 12:39:31 +0200 Subject: [PATCH] fix cd script --- .github/workflows/publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e0f6094..2668c4c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,6 +35,10 @@ jobs: uses: actions/setup-node@v1 with: node-version: '12.x' + always-auth: true + scope: @nodefactory + registry-url: 'https://registry.npmjs.org' + - name: Install dependencies run: yarn install --frozen-lockfile --non-interactive @@ -44,6 +48,8 @@ jobs: - 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 }} - name: Get Changelog Entry id: changelog_reader