Cleanup GH actions
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 22 Oct 2022 12:49:00 +0000 (14:49 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 22 Oct 2022 12:49:00 +0000 (14:49 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/ci.yml
.github/workflows/generate-documentation.yml [moved from .github/workflows/generate-typedoc.yml with 86% similarity]

index be0d45e49fdc48ded5633cbb4c2023717cf6345d..e180d71e99944cd0e3ac5b2795617855cfccffbb 100644 (file)
@@ -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 }}
similarity index 86%
rename from .github/workflows/generate-typedoc.yml
rename to .github/workflows/generate-documentation.yml
index d8f9a528b4e8d5e3eb5fd81ee6784272525e29d2..0aea60faeddc4a7b3995f6bc7f132dc729a4d9f8 100644 (file)
@@ -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 }}'"