diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml deleted file mode 100644 index 4cc0060..0000000 --- a/.github/workflows/publish-npm.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Publish NPM -on: - release: - types: - - published - push: - branches: - - main - paths: - - .github/workflows/publish-npm.yml -jobs: - publish-npm: - runs-on: ubuntu-latest - steps: - - name: Performing Repository Checkout - uses: actions/checkout@v2 - - - name: Performing Pnpm Install on Workspace - uses: pnpm/action-setup@v2.2.2 - with: - version: latest - run_install: true - - - name: Transpiling TypeScript - run: pnpm build - - - name: Writing to .npmrc file - run: | - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc - echo 'registry=https://registry.npmjs.org/' >> .npmrc - echo 'always-auth=true' >> .npmrc - - - name: Publishing to NPM - run: | - pnpm publish --no-git-checks - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}