From aed666adf62def6a2dda3244f21d39d6a29169f5 Mon Sep 17 00:00:00 2001 From: Scott Date: Wed, 17 Jul 2024 13:00:48 +0300 Subject: [PATCH] Delete .github/workflows/npm-publish.yml --- .github/workflows/npm-publish.yml | 39 ------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml deleted file mode 100644 index 580bdca..0000000 --- a/.github/workflows/npm-publish.yml +++ /dev/null @@ -1,39 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -name: Publish package to GitHub Packages -on: - release: - types: [published] - -jobs: - build-and-publish: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - name: Checkout code - uses: actions/checkout@v4 - - # Setup .npmrc file to publish to GitHub Packages - - name: Setup Node.js (.npmrc) - uses: actions/setup-node@v4 - with: - node-version: '20.x' - registry-url: 'https://npm.pkg.github.com' - # Defaults to the user or organization that owns the workflow file - scope: '@frmscoe' - - - name: Install dependencies - run: npm ci - env: - GH_TOKEN: '${{ secrets.GH_TOKEN }}' - - - name: Build library - run: npm run build - - - name: Publish package - run: npm publish - env: - GH_TOKEN: '${{ secrets.GH_TOKEN }}' - NODE_AUTH_TOKEN: '${{ secrets.GH_TOKEN }}'