From 2c059193eb659af4e3a954be71d0065d2ed4d7a6 Mon Sep 17 00:00:00 2001 From: yuqiuw <72527514+yuqiuw@users.noreply.github.com> Date: Thu, 10 Jun 2021 11:36:31 -0500 Subject: [PATCH] Revert "workflow to publish package" This reverts commit 56ded141985c938412dfc9d79aaacc2edc97300b. --- .github/workflows/release-package.yml | 33 --------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .github/workflows/release-package.yml diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml deleted file mode 100644 index 0b971eb..0000000 --- a/.github/workflows/release-package.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Node.js Package - -on: - release: - types: [created] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 12 - - run: npm ci - - run: npm test - - publish-gpr: - needs: build - runs-on: ubuntu-latest - permissions: - packages: write - contents: read - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 12 - registry-url: https://npm.pkg.github.com/ - - run: npm ci - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}