Update GitHub Actions workflow to use Node.js 22 and pnpm version 10.26.2, while repositioning the in-progress comment step for better visibility during validation.
This commit is contained in:
parent
c6a429a3be
commit
f999bcc00d
|
|
@ -31,25 +31,15 @@ jobs:
|
||||||
# Fetch base branch to ensure it's available
|
# Fetch base branch to ensure it's available
|
||||||
git fetch origin ${BASE_REF}:${BASE_REF} || true
|
git fetch origin ${BASE_REF}:${BASE_REF} || true
|
||||||
|
|
||||||
- name: Add in progress comment
|
- name: Use Node.js 22
|
||||||
id: add-in-progress-comment
|
|
||||||
uses: thollander/actions-comment-pull-request@v3
|
|
||||||
with:
|
|
||||||
comment-tag: validate
|
|
||||||
mode: upsert
|
|
||||||
message: |
|
|
||||||
🔄 Icons are being validated... Please wait...
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Use Node.js 20
|
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 22
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
name: Install pnpm
|
name: Install pnpm
|
||||||
with:
|
with:
|
||||||
version: 10.26.1
|
version: 10.26.2
|
||||||
|
|
||||||
- name: Get pnpm store directory
|
- name: Get pnpm store directory
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
@ -67,6 +57,16 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --no-frozen-lockfile
|
run: pnpm install --no-frozen-lockfile
|
||||||
|
|
||||||
|
- name: Add in progress comment
|
||||||
|
id: add-in-progress-comment
|
||||||
|
uses: thollander/actions-comment-pull-request@v3
|
||||||
|
with:
|
||||||
|
comment-tag: validate
|
||||||
|
mode: upsert
|
||||||
|
message: |
|
||||||
|
🔄 Icons are being validated... Please wait...
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Validate icons
|
- name: Validate icons
|
||||||
id: validate
|
id: validate
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue