mirror of
https://github.com/garronej/ts-ci.git
synced 2025-11-30 21:43:05 +00:00
Fixing Issue #5
This commit is contained in:
parent
eecd500c94
commit
9fdbe5903e
3 changed files with 7 additions and 7 deletions
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
|
@ -38,7 +38,7 @@ jobs:
|
||||||
|
|
||||||
- name: Get version on branch 'latest'
|
- name: Get version on branch 'latest'
|
||||||
id: v_latest
|
id: v_latest
|
||||||
uses: garronej/github_actions_toolkit@v1.1
|
uses: garronej/github_actions_toolkit@v1.3
|
||||||
with:
|
with:
|
||||||
action_name: get_package_json_version
|
action_name: get_package_json_version
|
||||||
owner: ${{github.repository_owner}}
|
owner: ${{github.repository_owner}}
|
||||||
|
|
@ -49,7 +49,7 @@ jobs:
|
||||||
|
|
||||||
- name: Get version on master
|
- name: Get version on master
|
||||||
id: v_master
|
id: v_master
|
||||||
uses: garronej/github_actions_toolkit@v1.1
|
uses: garronej/github_actions_toolkit@v1.3
|
||||||
with:
|
with:
|
||||||
action_name: get_package_json_version
|
action_name: get_package_json_version
|
||||||
owner: ${{github.repository_owner}}
|
owner: ${{github.repository_owner}}
|
||||||
|
|
@ -59,7 +59,7 @@ jobs:
|
||||||
|
|
||||||
- name: 'Trigger the ''publish'' workflow if newer version'
|
- name: 'Trigger the ''publish'' workflow if newer version'
|
||||||
if: ${{ !!env.PAT && steps.v_master.outputs.compare_result == '1' }}
|
if: ${{ !!env.PAT && steps.v_master.outputs.compare_result == '1' }}
|
||||||
uses: garronej/github_actions_toolkit@v1.1
|
uses: garronej/github_actions_toolkit@v1.3
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
4
.github/workflows/publish.yaml
vendored
4
.github/workflows/publish.yaml
vendored
|
|
@ -8,7 +8,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Synchronize package.json and package-lock.json version if needed.
|
- name: Synchronize package.json and package-lock.json version if needed.
|
||||||
uses: garronej/github_actions_toolkit@v1.1
|
uses: garronej/github_actions_toolkit@v1.3
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||||
with:
|
with:
|
||||||
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
commit_author_email: ts_ci@github.com
|
commit_author_email: ts_ci@github.com
|
||||||
- name: Update CHANGELOG.md
|
- name: Update CHANGELOG.md
|
||||||
if: ${{ !!github.event.client_payload.from_version }}
|
if: ${{ !!github.event.client_payload.from_version }}
|
||||||
uses: garronej/github_actions_toolkit@v1.1
|
uses: garronej/github_actions_toolkit@v1.3
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ jobs:
|
||||||
|
|
||||||
- name: Checking availability for module name ${{github.event.repository.name}} on NPM.
|
- name: Checking availability for module name ${{github.event.repository.name}} on NPM.
|
||||||
id: id1
|
id: id1
|
||||||
uses: garronej/github_actions_toolkit@v1.1
|
uses: garronej/github_actions_toolkit@v1.3
|
||||||
with:
|
with:
|
||||||
action_name: is_well_formed_and_available_module_name
|
action_name: is_well_formed_and_available_module_name
|
||||||
module_name: ${{github.event.repository.name}}
|
module_name: ${{github.event.repository.name}}
|
||||||
|
|
@ -32,7 +32,7 @@ jobs:
|
||||||
- run: mv LICENSE.template LICENSE
|
- run: mv LICENSE.template LICENSE
|
||||||
- name : String replace
|
- name : String replace
|
||||||
id: id2
|
id: id2
|
||||||
uses: garronej/github_actions_toolkit@v1.1
|
uses: garronej/github_actions_toolkit@v1.3
|
||||||
with:
|
with:
|
||||||
action_name: string_replace
|
action_name: string_replace
|
||||||
input_string: ${{github.event.repository.name}}
|
input_string: ${{github.event.repository.name}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue