From 4cbc453d0edb8034bbeff67cf46429c90a5c7c70 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 7 Apr 2020 11:59:18 +0100 Subject: [PATCH] Added npm login to release GitHub Action no issue --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7f0992205..d7e2000dab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,4 +23,6 @@ jobs: - run: grunt release --skip-tests - uses: tryghost/action-ghost-release@master - - run: npm publish --registry https://registry.npmjs.org/ + + - run: npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN + - run: npm publish