diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 709ad26..02fb092 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,18 +6,18 @@ on: - main jobs: deploy-preview: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: write pages: write pull-requests: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup node env - uses: actions/setup-node@v4 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: - node-version: 20 + node-version: 24 check-latest: true - name: Checkout run: | @@ -26,7 +26,7 @@ jobs: cp .eodash/dist/index.html .eodash/dist/404.html touch .eodash/dist/.nojekyll - name: Deploy - uses: JamesIves/github-pages-deploy-action@v4 + uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4 with: folder: ./.eodash/dist/ branch: gh-pages diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index dcac33e..6aa1246 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -13,18 +13,18 @@ concurrency: preview-${{ github.ref }} jobs: deploy-preview: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: contents: write pages: write pull-requests: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup node env - uses: actions/setup-node@v4 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: - node-version: 20 + node-version: 24 check-latest: true - name: Install and Build if: github.event.action != 'closed' @@ -33,6 +33,6 @@ jobs: npm run build -- --base /${{ github.event.repository.name }}/pr-preview/pr-${{ github.event.number }}/ - name: Deploy preview - uses: rossjrw/pr-preview-action@v1 + uses: rossjrw/pr-preview-action@ffa7509e91a3ec8dfc2e5536c4d5c1acdf7a6de9 # v1 with: source-dir: ./.eodash/dist/