ci: move workflow actions off the deprecated Node 20 runtime
CI / build (pull_request) Successful in 14s
CI / build (pull_request) Successful in 14s
actions/checkout and actions/setup-node v4 -> v5, softprops/action-gh-release v2 -> v3; all three run on Node 24. setup-deno@v2, setup-bun@v2 and crates-io-auth-action@v1 already resolve to Node 24 releases. Jobs keep node-version 22. Refs Green-Tea/core#103 Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
4 files changed
+8
-8
No files matched your search
@@ -16,8 +16,8 @@ jobs:
|
|||||||
if: ${{ github.server_url != 'https://github.com' }}
|
if: ${{ github.server_url != 'https://github.com' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
node-version: '22'
|
node-version: '22'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
node-version: '22'
|
node-version: '22'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
if: ${{ github.server_url != 'https://github.com' }}
|
if: ${{ github.server_url != 'https://github.com' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Push main or the new tag to GitHub
|
- name: Push main or the new tag to GitHub
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ jobs:
|
|||||||
ARCHIVE_NAME: green-tea-site-${{ github.ref_name }}.tar.gz
|
ARCHIVE_NAME: green-tea-site-${{ github.ref_name }}.tar.gz
|
||||||
RELEASE_TAG: ${{ github.ref_name }}
|
RELEASE_TAG: ${{ github.ref_name }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
node-version: '22'
|
node-version: '22'
|
||||||
- name: Validate release tag
|
- name: Validate release tag
|
||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
- name: Verify .htaccess in archive
|
- name: Verify .htaccess in archive
|
||||||
run: tar -tzf "$ARCHIVE_NAME" | grep -Fx './.htaccess'
|
run: tar -tzf "$ARCHIVE_NAME" | grep -Fx './.htaccess'
|
||||||
- name: Attach to GitHub release
|
- name: Attach to GitHub release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v3
|
||||||
with:
|
with:
|
||||||
prerelease: true
|
prerelease: true
|
||||||
files: ${{ env.ARCHIVE_NAME }}
|
files: ${{ env.ARCHIVE_NAME }}
|
||||||
Reference in new issue
Block a user