@@ -10,7 +10,14 @@ jobs:
|
|||||||
runs-on: amd64
|
runs-on: amd64
|
||||||
steps:
|
steps:
|
||||||
- name: Install node
|
- name: Install node
|
||||||
run: apt-get update && apt-get install -y nodejs npm || true
|
run: |
|
||||||
|
if command -v apk >/dev/null 2>&1; then
|
||||||
|
apk add --no-cache nodejs npm
|
||||||
|
elif command -v apt-get >/dev/null 2>&1; then
|
||||||
|
apt-get update && apt-get install -y nodejs npm
|
||||||
|
else
|
||||||
|
echo "No package manager found, assuming node present"
|
||||||
|
fi
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|||||||
Reference in New Issue
Block a user