ci: manually install Node 22.9.0 and run pnpm
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -11,6 +11,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install Node 22.9.0
|
||||||
|
run: |
|
||||||
|
NODE_VERSION=22.9.0
|
||||||
|
mkdir -p "$RUNNER_TEMP/node"
|
||||||
|
curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" \
|
||||||
|
| tar -xJ -C "$RUNNER_TEMP/node" --strip-components=1
|
||||||
|
echo "$RUNNER_TEMP/node/bin" >> "$GITHUB_PATH"
|
||||||
|
|
||||||
- name: Node version
|
- name: Node version
|
||||||
run: node -v
|
run: node -v
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user