From 706511d15213c5a87467a051f80f504e79fb51cc Mon Sep 17 00:00:00 2001 From: Jasper Van Proeyen Date: Thu, 19 Sep 2024 09:05:18 +0200 Subject: [PATCH] Fixed Github workflows --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/deploy.yml | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbacdef5..c084a2fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 - - name: Use Node 18.x - uses: actions/setup-node@v3 + uses: actions/checkout@v4 + - name: Use Node 20.x + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: 20 - name: Install dependencies & build component library run: npm ci - name: Run linter diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a114f85f..c59a1d82 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,18 +9,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 - - name: Use Node 18.x - uses: actions/setup-node@v3 + uses: actions/checkout@v4 + - name: Use Node 20.x + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: 20 - name: Install dependencies & build component library run: npm ci - name: Build documentation run: npm run build:prod - name: Archive build if: success() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: dist path: dist @@ -30,13 +30,13 @@ jobs: needs: build steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Download build - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: dist - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@releases/v3 + uses: JamesIves/github-pages-deploy-action@releases/v4 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: gh-pages