Skip to content

Commit

Permalink
Update GH workflows to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipZajdel committed Jan 31, 2025
1 parent e879dbb commit 9fc2f5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/index-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
cache: npm
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pages-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "16"
cache: npm
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
with:
# Automatically inject basePath in your Next.js configuration file and disable
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
#
# You may remove this line if you want to manage the configuration yourself.
static_site_generator: next
- name: Restore cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
.next/cache
Expand All @@ -72,7 +72,7 @@ jobs:
- name: Copy index file to site directory
run: cp resources/index.json ./site/out/index.json
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v4
with:
path: ./site/out

Expand Down

0 comments on commit 9fc2f5f

Please sign in to comment.