diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index bfb25b16..00000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Publish - -on: - push: - branches-ignore: - # No canary deploys for branches opened by dependabot - - 'dependabot/**' - -jobs: - publish: - runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" - - name: Make a release and publish to NPM - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - uses: actions/setup-node@v3 - with: - cache: 'yarn' - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - - name: Install Node dependencies - run: yarn --frozen-lockfile - - # don't use yarn run to avoid using yarnpkg registry - - name: Create release - run: npm run release - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}