-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix publish by removing old workflows
- Loading branch information
Showing
2 changed files
with
0 additions
and
50 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|