From 2c23bc1e9a51b8cf1594b11f85d0fdc384307832 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 22 Oct 2022 14:49:00 +0200 Subject: [PATCH] Cleanup GH actions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/ci.yml | 2 +- .../{generate-typedoc.yml => generate-documentation.yml} | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename .github/workflows/{generate-typedoc.yml => generate-documentation.yml} (86%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be0d45e4..e180d71e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis. This is needed for better sonar - - name: Set node version to ${{ matrix.node }} + - name: Setup node ${{ matrix.node }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} diff --git a/.github/workflows/generate-typedoc.yml b/.github/workflows/generate-documentation.yml similarity index 86% rename from .github/workflows/generate-typedoc.yml rename to .github/workflows/generate-documentation.yml index d8f9a528..0aea60fa 100644 --- a/.github/workflows/generate-typedoc.yml +++ b/.github/workflows/generate-documentation.yml @@ -1,4 +1,4 @@ -name: Generate TypeDoc +name: Generate documentation on: workflow_dispatch: @@ -11,12 +11,12 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Set node version to 16 + - name: Setup node uses: actions/setup-node@v3 with: node-version: '16.x' - - name: Generate TypeDoc + - name: Generate documentation run: | npm ci npm run typedoc @@ -26,7 +26,7 @@ jobs: run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - git commit -m "Generate TypeDoc" -a + git commit -m "Generate documentation" -a - name: Push changes if: "github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'" -- 2.34.1