diff --git a/.forgejo/workflows/lint-and-build.yml b/.forgejo/workflows/lint-and-build.yml index f864442..7113d8b 100644 --- a/.forgejo/workflows/lint-and-build.yml +++ b/.forgejo/workflows/lint-and-build.yml @@ -21,7 +21,13 @@ jobs: container: image: rust:latest steps: - - name: Checkout code + - name: Install Node.js + run: | + apt-get update && apt-get install -y curl + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get install -y nodejs + + - name: Checkout repository uses: actions/checkout@v4 - name: Install dependencies @@ -45,7 +51,13 @@ jobs: image: rust:latest needs: lint steps: - - name: Checkout code + - name: Install Node.js + run: | + apt-get update && apt-get install -y curl + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get install -y nodejs + + - name: Checkout repository uses: actions/checkout@v4 - name: Install dependencies @@ -72,7 +84,11 @@ jobs: docker: image: docker:dind steps: - - name: Checkout code + - name: Install Node.js + run: | + apk add --no-cache nodejs npm + + - name: Checkout repository uses: actions/checkout@v4 - name: Build Docker image