Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/actions/init-npm/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ inputs:
node-version:
description: 'Node.js version'
required: true
default: '20.x'
default: '24.x'
runs:
using: composite
steps:
- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ inputs.node-version }}
cache: npm
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ jobs:
name: Build the static site and deploy to pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Init nodejs
uses: ./.github/actions/init-npm

- name: Install dependencies
run: npm ci
working-directory: ./static-site

- name: Build website
run: npm run build
working-directory: ./static-site

- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v4
with:
path: ./static-site/dist

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Check out TS Project Git repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Init nodejs
uses: ./.github/actions/init-npm
Expand All @@ -27,7 +27,7 @@ jobs:

steps:
- name: Check out TS Project Git repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-tags: true
fetch-depth: '0'
Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out TS Project Git repository
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Init nodejs
uses: ./.github/actions/init-npm

Expand Down