Skip to content

Commit

Permalink
chore: fix publish by removing old workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
cfbender committed Nov 6, 2023
1 parent bdf928e commit 9564e81
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 50 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/check-pr-title.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,42 +6,7 @@ on:
- main

jobs:
bump_version:
name: Bump version, create tag/release point
runs-on: ubuntu-latest
outputs:
new_tag: ${{ steps.bump_version.outputs.new_tag }}
part: ${{ steps.bump_version.outputs.part }}
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: '0'
token: ${{ secrets.GITHUB_TOKEN }}

- name: Bump version and push tag/create release point
id: bump_version
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: none
# basically just using this step to grab the level to pass to `npm version`
DRY_RUN: true

- name: Setup Git
run: |
git config user.email "[email protected]"
git config user.name "$GITHUB_ACTOR"
- name: Bump package.json version
run: npm version ${{ steps.bump_version.outputs.part }}

- name: Push tag and package.json
run: git push --follow-tags

publish:
needs: bump_version
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 9564e81

Please sign in to comment.