diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 220b3f1..95088b5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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: diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 7b90a92..6968453 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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: diff --git a/.github/workflows/template_initialization.yaml b/.github/workflows/template_initialization.yaml index f3c66cb..5bbbd08 100644 --- a/.github/workflows/template_initialization.yaml +++ b/.github/workflows/template_initialization.yaml @@ -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}} diff --git a/README.md b/README.md index 5075f3e..7db9929 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ --- -**NOTE**: You probably want to "Use this template" ( the green button ) instead of forking the repo. # Presentation @@ -17,7 +16,7 @@ This template automates the boring and tedious tasks of: - Filling up the ``package.json`` - Setting up Typescript. - Writing a [README.md](https://github.com/garronej/denoify_ci/blob/dev/README.template.md) with decent presentation and instructions on how to install/import your module. -- Testing on multiple N``ode`` version before publishing. +- Testing on multiple Node version before publishing. - Maintaining a CHANGELOG. - Publishing on NPM and creating corresponding GitHub releases. @@ -29,6 +28,14 @@ Besides, good stuff that comes with using this template: - CDN distribution for importing from an ``.html`` file with a ``