diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6993d8463..a6de657d7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,21 +24,21 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: npm - name: Install dependencies run: npm ci - name: Build website run: npm run build - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: './build' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/deployPreview.yml b/.github/workflows/deployPreview.yml index b1dc26fba..05b3eb8e8 100644 --- a/.github/workflows/deployPreview.yml +++ b/.github/workflows/deployPreview.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Clone to preview folder (excluding actions) run: rsync -arv --delete --delete-excluded --exclude=".github" --exclude="preview-output" --exclude="preview-output" --exclude=".git" ./ preview-output/ - name: Push to staging repository @@ -35,4 +35,4 @@ jobs: destination-github-username: 'UnifiedID2' destination-repository-name: 'uid2-docs-preview' target-branch: main - target-directory: preview \ No newline at end of file + target-directory: preview diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d921e5eca..b96d8748a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: npm - name: Install dependencies run: npm ci