Merge pull request #65 from privilegedescalation/fix/node24-action-versions
ci: upgrade GitHub Actions to Node.js 24-compatible versions
This commit is contained in:
@@ -14,7 +14,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate GitHub App token
|
- name: Generate GitHub App token
|
||||||
id: app-token
|
id: app-token
|
||||||
uses: actions/create-github-app-token@v1
|
uses: actions/create-github-app-token@v3
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
app-id: ${{ secrets.RELEASE_APP_ID }}
|
app-id: ${{ secrets.RELEASE_APP_ID }}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: ${{ inputs.node-version }}
|
node-version: ${{ inputs.node-version }}
|
||||||
# Only enable built-in npm caching here; pnpm caching is handled below
|
# Only enable built-in npm caching here; pnpm caching is handled below
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup pnpm (version latest)
|
- name: Setup pnpm (version latest)
|
||||||
if: steps.pkg-manager.outputs.manager == 'pnpm' && steps.pkg-manager.outputs.has_package_manager == 'false'
|
if: steps.pkg-manager.outputs.manager == 'pnpm' && steps.pkg-manager.outputs.has_package_manager == 'false'
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v5
|
||||||
with:
|
with:
|
||||||
run_install: false
|
run_install: false
|
||||||
version: latest
|
version: latest
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Cache pnpm store
|
- name: Cache pnpm store
|
||||||
if: steps.pkg-manager.outputs.manager == 'pnpm'
|
if: steps.pkg-manager.outputs.manager == 'pnpm'
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.pnpm-store.outputs.dir }}
|
path: ${{ steps.pnpm-store.outputs.dir }}
|
||||||
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
|
|||||||
@@ -110,12 +110,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
if: steps.pkg-manager.outputs.manager == 'pnpm'
|
if: steps.pkg-manager.outputs.manager == 'pnpm'
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v5
|
||||||
with:
|
with:
|
||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: ${{ inputs.node-version }}
|
node-version: ${{ inputs.node-version }}
|
||||||
cache: ${{ steps.pkg-manager.outputs.manager }}
|
cache: ${{ steps.pkg-manager.outputs.manager }}
|
||||||
@@ -219,7 +219,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate GitHub App token
|
- name: Generate GitHub App token
|
||||||
id: app-token
|
id: app-token
|
||||||
uses: actions/create-github-app-token@v1
|
uses: actions/create-github-app-token@v3
|
||||||
with:
|
with:
|
||||||
app-id: ${{ secrets.RELEASE_APP_ID }}
|
app-id: ${{ secrets.RELEASE_APP_ID }}
|
||||||
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
|
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
|
||||||
|
|||||||
Reference in New Issue
Block a user