diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 4daed17f..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,40 +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://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages - -name: release main - -on: - release: - types: [created] - push: - tags: - - 'release*' - - 'v*' - -jobs: - publish-npm: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Install pnpm - uses: pnpm/action-setup@v3 - - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: 18 - registry-url: https://registry.npmjs.org - cache: pnpm - - - name: Install dependencies - run: pnpm install - - - name: Build - run: pnpm build - - - name: Publish - run: pnpm publish --recursive --access public --report-summary --no-git-checks - env: - NODE_AUTH_TOKEN: ${{secrets.NPMJS_TOKEN}}