Fix Node.js 18 installation - remove conflicting packages first
Some checks failed
CI Pipeline / Rust Format Check (push) Successful in 4s
CI Pipeline / Clippy Lints (push) Successful in 45s
CI Pipeline / Rust Unit Tests (push) Successful in 1m1s
CI Pipeline / Security Audit (push) Successful in 3s
CI Pipeline / Frontend Lint & Type Check (push) Failing after 22s
CI Pipeline / Build .deb & Release (push) Has been skipped
Some checks failed
CI Pipeline / Rust Format Check (push) Successful in 4s
CI Pipeline / Clippy Lints (push) Successful in 45s
CI Pipeline / Rust Unit Tests (push) Successful in 1m1s
CI Pipeline / Security Audit (push) Successful in 3s
CI Pipeline / Frontend Lint & Type Check (push) Failing after 22s
CI Pipeline / Build .deb & Release (push) Has been skipped
This commit is contained in:
@ -161,11 +161,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Node.js 18
|
- name: Install Node.js 18
|
||||||
run: |
|
run: |
|
||||||
|
# Remove conflicting packages from old Node.js installation
|
||||||
|
apt-get remove -y libnode-dev node-gyp npm || true
|
||||||
|
apt-get autoremove -y || true
|
||||||
|
# Install Node.js 18 from NodeSource
|
||||||
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
||||||
apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
node --version
|
node --version
|
||||||
npm --version
|
npm --version
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
run: |
|
run: |
|
||||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user