Fix: install Node.js before checkout action
Build & Deploy NutriApp / build-and-deploy (push) Failing after 3m28s
Build & Deploy NutriApp / build-and-deploy (push) Failing after 3m28s
This commit is contained in:
@@ -7,18 +7,19 @@ jobs:
|
|||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: rust-builder
|
runs-on: rust-builder
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install System Dependencies
|
||||||
|
run: |
|
||||||
|
apt-get update -qq && apt-get install -y -qq ca-certificates curl nodejs
|
||||||
|
curl -fsSL https://download.docker.com/linux/static/stable/aarch64/docker-27.3.1.tgz | tar xz
|
||||||
|
cp docker/docker /usr/local/bin/
|
||||||
|
docker version
|
||||||
|
node --version
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Install Docker CLI
|
|
||||||
run: |
|
|
||||||
apt-get update -qq && apt-get install -y -qq ca-certificates curl
|
|
||||||
curl -fsSL https://download.docker.com/linux/static/stable/aarch64/docker-27.3.1.tgz | tar xz
|
|
||||||
cp docker/docker /usr/local/bin/
|
|
||||||
docker version
|
|
||||||
|
|
||||||
- name: Cache Cargo
|
- name: Cache Cargo
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user