From 881ba461567cf435191ec21ebd71cd0c1ab9effa Mon Sep 17 00:00:00 2001 From: Michael Blanchard Date: Sun, 24 Mar 2024 15:57:54 -0700 Subject: [PATCH] Delete .github/workflows/npm-publish.yml --- .github/workflows/npm-publish.yml | 44 ------------------------------- 1 file changed, 44 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 849920a..0000000 --- a/.github/workflows/npm-publish.yml +++ /dev/null @@ -1,44 +0,0 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages - -name: Node.js Package - -on: - workflow_dispatch: - inputs: - versionType: - description: "Type of version update to make - major, minor, or patch - default is minor" - required: false - default: "minor" - release: - types: [created] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 14 - - run: yarn - - run: yarn test - - publish-npm: - needs: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 14 - registry-url: https://registry.npmjs.org/ - - uses: fusion-engineering/setup-git-credentials@v2.0.1 - with: - credentials: ${{secrets.GIT_CREDENTIALS}} - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - PUBLISH_DESTINATION: npm - - run: yarn - - run: yarn version --${{github.event.inputs.versionType}} - - run: yarn publish