From: Jérôme Benoit Date: Sat, 22 Oct 2022 12:49:00 +0000 (+0200) Subject: Cleanup GH actions X-Git-Tag: v2.3.6~5 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2c23bc1e9a51b8cf1594b11f85d0fdc384307832;p=poolifier.git Cleanup GH actions Signed-off-by: Jérôme Benoit --- 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 }}'"