chore(ci): bump to pnpm/setup
This commit is contained in:
@@ -14,11 +14,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: pnpm/action-setup@v5
|
- uses: pnpm/setup@v2
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
runtime: node@26
|
||||||
cache: pnpm
|
cache: true
|
||||||
|
install: false
|
||||||
|
|
||||||
- run: pnpm install
|
- run: pnpm install
|
||||||
- run: pnpm prune && pnpm dedupe
|
- run: pnpm prune && pnpm dedupe
|
||||||
|
|||||||
+16
-16
@@ -16,11 +16,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: pnpm/action-setup@v5
|
- uses: pnpm/setup@v2
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
runtime: node@26
|
||||||
cache: pnpm
|
cache: true
|
||||||
|
install: false
|
||||||
|
|
||||||
# Setup .NET for Godot C# linting
|
# Setup .NET for Godot C# linting
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
@@ -75,11 +75,11 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-turbo-
|
${{ runner.os }}-turbo-
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/setup@v2
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
runtime: node@26
|
||||||
cache: pnpm
|
cache: true
|
||||||
|
install: false
|
||||||
|
|
||||||
# Setup .NET and Godot
|
# Setup .NET and Godot
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
@@ -124,11 +124,11 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-turbo-
|
${{ runner.os }}-turbo-
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/setup@v2
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
runtime: node@26
|
||||||
cache: pnpm
|
cache: true
|
||||||
|
install: false
|
||||||
|
|
||||||
# # Setup .NET and Godot
|
# # Setup .NET and Godot
|
||||||
# - name: Setup .NET
|
# - name: Setup .NET
|
||||||
@@ -161,11 +161,11 @@ jobs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
# Node.js
|
# Node.js
|
||||||
- uses: pnpm/action-setup@v5
|
- uses: pnpm/setup@v2
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
runtime: node@26
|
||||||
cache: pnpm
|
cache: true
|
||||||
|
install: false
|
||||||
|
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
- run: pnpm run typecheck
|
- run: pnpm run typecheck
|
||||||
|
|||||||
@@ -33,11 +33,11 @@ jobs:
|
|||||||
key: ${{ runner.os }}-turbo-${{ github.sha }}
|
key: ${{ runner.os }}-turbo-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-turbo-
|
${{ runner.os }}-turbo-
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/setup@v2
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
runtime: node@26
|
||||||
cache: pnpm
|
cache: true
|
||||||
|
install: false
|
||||||
# NOTICE:
|
# NOTICE:
|
||||||
#
|
#
|
||||||
# Keep the wrangler setup consistent with the stage-web deployment
|
# Keep the wrangler setup consistent with the stage-web deployment
|
||||||
|
|||||||
@@ -33,11 +33,11 @@ jobs:
|
|||||||
key: ${{ runner.os }}-turbo-${{ github.sha }}
|
key: ${{ runner.os }}-turbo-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-turbo-
|
${{ runner.os }}-turbo-
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/setup@v2
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
runtime: node@26
|
||||||
cache: pnpm
|
cache: true
|
||||||
|
install: false
|
||||||
- run: pnpm i -g wrangler@4
|
- run: pnpm i -g wrangler@4
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
- run: pnpm run build:packages
|
- run: pnpm run build:packages
|
||||||
@@ -106,11 +106,11 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-turbo-auth-
|
${{ runner.os }}-turbo-auth-
|
||||||
${{ runner.os }}-turbo-
|
${{ runner.os }}-turbo-
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/setup@v2
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
runtime: node@26
|
||||||
cache: pnpm
|
cache: true
|
||||||
|
install: false
|
||||||
- run: pnpm i -g wrangler@4
|
- run: pnpm i -g wrangler@4
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
- run: pnpm run build:packages
|
- run: pnpm run build:packages
|
||||||
|
|||||||
@@ -147,13 +147,11 @@ jobs:
|
|||||||
allow-unsafe-pr-checkout: true
|
allow-unsafe-pr-checkout: true
|
||||||
|
|
||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/setup@v2
|
||||||
|
|
||||||
- name: Setup Node.js
|
|
||||||
uses: actions/setup-node@v6
|
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
runtime: node@26
|
||||||
cache: pnpm
|
cache: true
|
||||||
|
install: false
|
||||||
|
|
||||||
# NOTICE:
|
# NOTICE:
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -33,11 +33,11 @@ jobs:
|
|||||||
key: ${{ runner.os }}-turbo-${{ github.sha }}
|
key: ${{ runner.os }}-turbo-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-turbo-
|
${{ runner.os }}-turbo-
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/setup@v2
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
runtime: node@26
|
||||||
cache: pnpm
|
cache: true
|
||||||
|
install: false
|
||||||
# NOTICE:
|
# NOTICE:
|
||||||
#
|
#
|
||||||
# Here installing wrangler to global is required, or otherwise:
|
# Here installing wrangler to global is required, or otherwise:
|
||||||
|
|||||||
@@ -22,11 +22,11 @@ jobs:
|
|||||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||||
HF_USERNAME: ${{ secrets.HF_USERNAME }}
|
HF_USERNAME: ${{ secrets.HF_USERNAME }}
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/setup@v2
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
runtime: node@26
|
||||||
cache: pnpm
|
cache: true
|
||||||
|
install: false
|
||||||
|
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
- run: pnpm build
|
- run: pnpm build
|
||||||
|
|||||||
@@ -21,18 +21,18 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v5
|
- uses: pnpm/setup@v2
|
||||||
with:
|
with:
|
||||||
run_install: false
|
runtime: node@26
|
||||||
|
cache: true
|
||||||
|
install: false
|
||||||
|
|
||||||
- name: Install Node.js 24.x
|
- name: Configure npm registry
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 24.x
|
|
||||||
# registry-url required. Learn more at
|
# registry-url required. Learn more at
|
||||||
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
cache: pnpm
|
|
||||||
|
|
||||||
# npm 11.5.1 or later is required so update to latest to use OIDC trusted publisher
|
# npm 11.5.1 or later is required so update to latest to use OIDC trusted publisher
|
||||||
# https://github.com/eslint/config-inspector/pull/174/files
|
# https://github.com/eslint/config-inspector/pull/174/files
|
||||||
|
|||||||
@@ -41,13 +41,11 @@ jobs:
|
|||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
uses: android-actions/setup-android@v3
|
uses: android-actions/setup-android@v3
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/setup@v2
|
||||||
with:
|
with:
|
||||||
run_install: false
|
runtime: node@26
|
||||||
- uses: actions/setup-node@v6
|
cache: true
|
||||||
with:
|
install: false
|
||||||
node-version: lts/*
|
|
||||||
cache: pnpm
|
|
||||||
|
|
||||||
- name: Install Android build tools
|
- name: Install Android build tools
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -32,13 +32,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/setup@v2
|
||||||
with:
|
with:
|
||||||
run_install: false
|
runtime: node@26
|
||||||
- uses: actions/setup-node@v6
|
cache: true
|
||||||
with:
|
install: false
|
||||||
node-version: lts/*
|
|
||||||
cache: pnpm
|
|
||||||
|
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
- run: pnpm run build:packages
|
- run: pnpm run build:packages
|
||||||
|
|||||||
@@ -77,19 +77,16 @@ jobs:
|
|||||||
xcodebuild -version
|
xcodebuild -version
|
||||||
actool --version
|
actool --version
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/setup@v2
|
||||||
with:
|
with:
|
||||||
run_install: false
|
runtime: node@26
|
||||||
|
cache: true
|
||||||
|
install: false
|
||||||
|
|
||||||
- name: Install macOS system dependencies for node-canvas
|
- name: Install macOS system dependencies for node-canvas
|
||||||
if: matrix.depot == 'macos'
|
if: matrix.depot == 'macos'
|
||||||
run: brew install pkg-config cairo pango jpeg giflib librsvg
|
run: brew install pkg-config cairo pango jpeg giflib librsvg
|
||||||
|
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
|
||||||
node-version: lts/*
|
|
||||||
cache: pnpm
|
|
||||||
|
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- run: pnpm run build:packages
|
- run: pnpm run build:packages
|
||||||
|
|||||||
@@ -119,19 +119,25 @@ jobs:
|
|||||||
xcodebuild -version
|
xcodebuild -version
|
||||||
actool --version
|
actool --version
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/setup@v1
|
||||||
|
if: matrix.os == 'macos-15-intel'
|
||||||
with:
|
with:
|
||||||
run_install: false
|
runtime: node@26
|
||||||
|
cache: true
|
||||||
|
install: false
|
||||||
|
|
||||||
|
- uses: pnpm/setup@v2
|
||||||
|
if: matrix.os != 'macos-15-intel'
|
||||||
|
with:
|
||||||
|
runtime: node@26
|
||||||
|
cache: true
|
||||||
|
install: false
|
||||||
|
|
||||||
- name: Install macOS System Dependencies for node-canvas
|
- name: Install macOS System Dependencies for node-canvas
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
brew install pkg-config cairo pango jpeg giflib librsvg
|
brew install pkg-config cairo pango jpeg giflib librsvg
|
||||||
|
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
|
||||||
node-version: lts/*
|
|
||||||
cache: pnpm
|
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
|
|||||||
@@ -16,18 +16,18 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v5
|
- uses: pnpm/setup@v2
|
||||||
with:
|
with:
|
||||||
run_install: false
|
runtime: node@26
|
||||||
|
cache: true
|
||||||
|
install: false
|
||||||
|
|
||||||
- name: Install Node.js 24.x
|
- name: Configure npm registry
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 24.x
|
|
||||||
# registry-url required. Learn more at
|
# registry-url required. Learn more at
|
||||||
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
cache: pnpm
|
|
||||||
|
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
- run: pnpm run build:packages
|
- run: pnpm run build:packages
|
||||||
|
|||||||
@@ -21,13 +21,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: main
|
ref: main
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/setup@v2
|
||||||
with:
|
with:
|
||||||
run_install: false
|
runtime: node@26
|
||||||
- uses: actions/setup-node@v6
|
cache: true
|
||||||
with:
|
install: false
|
||||||
node-version: lts/*
|
|
||||||
cache: pnpm
|
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Pull with rebase
|
- name: Pull with rebase
|
||||||
|
|||||||
@@ -33,13 +33,11 @@ jobs:
|
|||||||
ref: main
|
ref: main
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/setup@v2
|
||||||
with:
|
with:
|
||||||
run_install: false
|
runtime: node@26
|
||||||
- uses: actions/setup-node@v6
|
cache: true
|
||||||
with:
|
install: false
|
||||||
node-version: lts/*
|
|
||||||
cache: pnpm
|
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Update README download links
|
- name: Update README download links
|
||||||
|
|||||||
@@ -19,11 +19,11 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: pnpm/action-setup@v5
|
- uses: pnpm/setup@v2
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
runtime: node@26
|
||||||
cache: pnpm
|
cache: true
|
||||||
|
install: false
|
||||||
|
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
nodejs 24.13.0
|
nodejs 26.7.0
|
||||||
|
|||||||
Reference in New Issue
Block a user