From 3b9524bcda6f4267b691559711befcd569ae4f54 Mon Sep 17 00:00:00 2001 From: lostfields Date: Tue, 7 Apr 2020 13:11:58 +0200 Subject: [PATCH] github actions; only trying npm publish --- .github/workflows/release.yml | 42 +++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d68676c..046f468 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,31 +38,31 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ - scope: "@tfso" + scope: tfso - name: publish run: | npm ci npm run build - npm publish + npm publish --@tfso:registry=https://registry.npmjs.org/ env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - publish-gpr: - name: publish npm to github - if: "!github.event.release.prerelease" # https://developer.github.com/v3/activity/events/types/#releaseevent - needs: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 12 - registry-url: https://npm.pkg.github.com/ - scope: "@tfso" - - name: publish - run: | - npm ci - npm run build - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + # publish-gpr: + # name: publish npm to github + # if: "!github.event.release.prerelease" # https://developer.github.com/v3/activity/events/types/#releaseevent + # needs: build + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v2 + # - uses: actions/setup-node@v1 + # with: + # node-version: 12 + # registry-url: https://npm.pkg.github.com/ + # scope: "@tfso" + # - name: publish + # run: | + # npm ci + # npm run build + # npm publish + # env: + # NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}