From dacd61493ef3d7bb4036642bdd1a92b90679a294 Mon Sep 17 00:00:00 2001 From: Ingar Helgesen Date: Fri, 17 Jul 2020 11:23:19 +0200 Subject: [PATCH] Add --access public to npm publish --- .github/workflows/npm-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index bc523c8..06d9fba 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -30,7 +30,7 @@ jobs: registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm run build - - run: npm publish + - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} @@ -45,6 +45,6 @@ jobs: registry-url: https://npm.pkg.github.com/ - run: npm ci - run: npm run build - - run: npm publish + - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}