mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e8f38b8d0a | ||
|
|
898fa0212d | ||
|
|
67a632bbc2 |
27
.github/workflows/bump_version.yml
vendored
27
.github/workflows/bump_version.yml
vendored
@@ -69,12 +69,12 @@ jobs:
|
|||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Commit changes and create new version tag
|
- name: Publish to NPM
|
||||||
if: steps.buildSDK.outcome == 'success'
|
id: publish
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: JS-DevTools/npm-publish@v1
|
||||||
with:
|
with:
|
||||||
commit_message: Bump version to ${{ github.event.inputs.version }}
|
token: ${{ secrets.NPM_TOKEN }}
|
||||||
tagging_message: ${{ github.event.inputs.version }}
|
package: ./plexjs/package.json
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
@@ -87,16 +87,9 @@ jobs:
|
|||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- name: Commit changes and create new version tag
|
||||||
- uses: actions/setup-node@v3
|
if: steps.buildSDK.outcome == 'success'
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
commit_message: Bump version to ${{ github.event.inputs.version }}
|
||||||
- run: |
|
tagging_message: ${{ github.event.inputs.version }}
|
||||||
cd plexjs
|
|
||||||
npm ci
|
|
||||||
|
|
||||||
- id: publish
|
|
||||||
uses: JS-DevTools/npm-publish@v1
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.NPM_TOKEN }}
|
|
||||||
package: ./plexjs/package.json
|
|
||||||
|
|||||||
Reference in New Issue
Block a user