diff --git a/.github/actions/init-npm/action.yaml b/.github/actions/init-npm/action.yaml index b2c3d497..779dc28e 100644 --- a/.github/actions/init-npm/action.yaml +++ b/.github/actions/init-npm/action.yaml @@ -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 diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml index 9ca1d71b..e3d0747a 100644 --- a/.github/workflows/deploy-site.yml +++ b/.github/workflows/deploy-site.yml @@ -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 diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d6599369..a5be95e8 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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 @@ -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' @@ -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