From 90f06b8f49f651fc08458ed504eac4dc109840e0 Mon Sep 17 00:00:00 2001 From: Tobias Schneider Date: Sun, 26 Jun 2022 00:40:41 +0200 Subject: [PATCH] simplified workflow --- .github/workflows/publish-pre.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-pre.yml b/.github/workflows/publish-pre.yml index 434ba8c..8a59566 100644 --- a/.github/workflows/publish-pre.yml +++ b/.github/workflows/publish-pre.yml @@ -17,15 +17,14 @@ jobs: run: npm ci - name: Build run: npm run build - - name: Publish to npmjs.org + - name: Publish to npmjs env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} run: npm publish --tag pre --access public - uses: actions/setup-node@v1 with: - node-version: 16 registry-url: https://npm.pkg.github.com/ - - name: Publish to npm.pkg.github.com + - name: Publish to GPR env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} run: npm publish --tag pre --access public \ No newline at end of file