fix(ci): install nodejs in build container before checkout action

This commit is contained in:
2026-09-13 22:03:22 +02:00
parent 8b4916246b
commit 91c2e9659b
2 changed files with 12 additions and 8 deletions
+6 -4
View File
@@ -21,14 +21,15 @@ jobs:
container:
image: ghcr.io/cirruslabs/flutter:3.19.3
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Configure Git Safe Directory
- name: Setup Node.js & Git for Actions
run: |
apt-get update -qq && apt-get install -y -qq nodejs ca-certificates
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git config --global --add safe.directory '*'
- name: Checkout Repository
uses: actions/checkout@v4
- name: Make Gradlew Executable
run: chmod +x android/gradlew
@@ -36,6 +37,7 @@ jobs:
run: |
flutter --version
java -version
node --version
- name: Fetch Flutter Dependencies
run: flutter pub get