Skip to content

Commit

Permalink
CI fix 14
Browse files Browse the repository at this point in the history
  • Loading branch information
korvin89 committed Oct 16, 2024
1 parent e5419d2 commit 5f667c1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Bump path version
name: Release on Github

on:
# push:
# branches: [main]
pull_request:

jobs:
bump-version:
github-release:
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down Expand Up @@ -70,5 +70,13 @@ jobs:
body: ${{ env.COMMIT_NAME }}
draft: false
prerelease: false
- name: 'Success notify'
run: echo "Version bumped to '$TAG_NEW_VERSION' and pushed to remote repository"
# - name: 'Success notify'
# run: echo "Version bumped to '$TAG_NEW_VERSION' and pushed to remote repository"
- name: Install Packages
run: npm ci
- name: Build
run: npm run build
- name: Publish
run: npm publish --tag "$TAG_NEW_VERSION"
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,5 @@
"npm": ">= 9",
"yarn": "Please use npm instead of yarn to install dependencies",
"pnpm": "Please use npm instead of pnpm to install dependencies"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
}
}

0 comments on commit 5f667c1

Please sign in to comment.