diff --git a/.github/workflows/generator-test.yml b/.github/workflows/generator-test.yml index da0d07f7..d900c4f0 100644 --- a/.github/workflows/generator-test.yml +++ b/.github/workflows/generator-test.yml @@ -6,18 +6,11 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: devcontainers/ci@v0.3 with: - node-version: 18 - - uses: denoland/setup-deno@v1 - with: - deno-version: "1.34.0" - - uses: actions/setup-java@v4 - with: - java-version: 21 - distribution: 'microsoft' - - run: make run test - working-directory: ./cli + runCmd: | + cd cli + make run test - uses: actions/upload-artifact@v4 with: path: diff --git a/Dockerfile b/Dockerfile index 0796163b..899ec75c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,8 @@ RUN gem install jekyll bundler ENV DENO_INSTALL="$HOME/.deno" ENV DENO_INSTALL_ROOT="$HOME/.deno" RUN curl -fsSL https://deno.land/x/install/install.sh | sh -ENV PATH="${PATH}:$HOME/.deno/bin" \ No newline at end of file +ENV PATH="${PATH}:$HOME/.deno/bin" + +ENV JAVA_HOME=/opt/java/openjdk +COPY --from=eclipse-temurin:21 $JAVA_HOME $JAVA_HOME +ENV PATH="${JAVA_HOME}/bin:${PATH}" \ No newline at end of file