Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,30 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4 # Updated to latest version

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4 # Updated to latest version
with:
node-version: 21.x
cache: yarn
cache-dependency-path: ./package-lock.json

- name: Install dependencies
run: yarn install --frozen-lockfile --non-interactive

- name: Build
run: yarn run build

- name: Setup Pages
uses: actions/configure-pages@v1
uses: actions/configure-pages@v4 # Updated to latest version

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-artifact@v4 # Updated from deprecated version
with:
name: github-pages
path: build

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4 # Updated to latest version