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