From 5d8ae1eb501eba7217d4f789f4eca6a4e5c91492 Mon Sep 17 00:00:00 2001 From: bohoffi Date: Sat, 28 Oct 2023 21:21:24 +0200 Subject: [PATCH] build: update node version on workflows --- .github/workflows/MANUAL_github-pages.yml | 48 +++++++++++----------- .github/workflows/RELEASE_github-pages.yml | 48 +++++++++++----------- .github/workflows/pull-request.yml | 4 +- 3 files changed, 50 insertions(+), 50 deletions(-) diff --git a/.github/workflows/MANUAL_github-pages.yml b/.github/workflows/MANUAL_github-pages.yml index 84abed5..f0df10f 100644 --- a/.github/workflows/MANUAL_github-pages.yml +++ b/.github/workflows/MANUAL_github-pages.yml @@ -8,25 +8,25 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup node - uses: actions/setup-node@v2 - with: - node-version: "16" - cache: "npm" - - - name: Install dependencies - run: npm i - - - name: Build the docs - run: npm run docs - - - name: Upload Artifacts - uses: actions/upload-pages-artifact@v1 - with: - path: docs + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup node + uses: actions/setup-node@v2 + with: + node-version: '18' + cache: 'npm' + + - name: Install dependencies + run: npm i + + - name: Build the docs + run: npm run docs + + - name: Upload Artifacts + uses: actions/upload-pages-artifact@v1 + with: + path: docs deploy: name: Deploys the artifact to Github Pages @@ -40,9 +40,9 @@ jobs: environment: name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - + url: ${{ steps.deployment.outputs.page_url }} + steps: - - name: Deploy to Github Pages - id: deployment - uses: actions/deploy-pages@v1 + - name: Deploy to Github Pages + id: deployment + uses: actions/deploy-pages@v1 diff --git a/.github/workflows/RELEASE_github-pages.yml b/.github/workflows/RELEASE_github-pages.yml index d22bc3f..6abf677 100644 --- a/.github/workflows/RELEASE_github-pages.yml +++ b/.github/workflows/RELEASE_github-pages.yml @@ -10,25 +10,25 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup node - uses: actions/setup-node@v2 - with: - node-version: "16" - cache: "npm" - - - name: Install dependencies - run: npm i - - - name: Build the docs - run: npm run docs - - - name: Upload Artifacts - uses: actions/upload-pages-artifact@v1 - with: - path: docs + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup node + uses: actions/setup-node@v2 + with: + node-version: '18' + cache: 'npm' + + - name: Install dependencies + run: npm i + + - name: Build the docs + run: npm run docs + + - name: Upload Artifacts + uses: actions/upload-pages-artifact@v1 + with: + path: docs deploy: name: Deploys the artifact to Github Pages @@ -42,9 +42,9 @@ jobs: environment: name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - + url: ${{ steps.deployment.outputs.page_url }} + steps: - - name: Deploy to Github Pages - id: deployment - uses: actions/deploy-pages@v1 + - name: Deploy to Github Pages + id: deployment + uses: actions/deploy-pages@v1 diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 6408042..9cfb4fa 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -2,14 +2,14 @@ name: PR-builder on: pull_request: - branches: [ develop ] + branches: [develop] jobs: build: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [18.x] steps: - uses: actions/checkout@v2