From cbf8f8e61b1357085aae2d4b87842901708d34e4 Mon Sep 17 00:00:00 2001 From: nwittstruck Date: Fri, 29 Mar 2024 16:51:35 +0100 Subject: [PATCH] chore: remove external github action to install elixir: rename build steps --- .../workflows/backend_on_push_branch_execute_ci_cd.yml | 3 ++- .../workflows/frontend_on_push_branch_execute_ci_cd.yml | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/backend_on_push_branch_execute_ci_cd.yml b/.github/workflows/backend_on_push_branch_execute_ci_cd.yml index 9e5e2df..22a55dd 100644 --- a/.github/workflows/backend_on_push_branch_execute_ci_cd.yml +++ b/.github/workflows/backend_on_push_branch_execute_ci_cd.yml @@ -1,5 +1,5 @@ # Do not forget to change status badge in ./README.md -name: on_push_branch__execute_ci_cd +name: backend_on_push_branch_execute_ci_cd on: push: @@ -18,6 +18,7 @@ jobs: container: hexpm/elixir:1.15.7-erlang-26.2.2-debian-bullseye-20240130-slim steps: + - uses: actions/checkout@v4 - uses: actions/cache@v4 id: cache with: diff --git a/.github/workflows/frontend_on_push_branch_execute_ci_cd.yml b/.github/workflows/frontend_on_push_branch_execute_ci_cd.yml index bda8e8f..7a2cca1 100644 --- a/.github/workflows/frontend_on_push_branch_execute_ci_cd.yml +++ b/.github/workflows/frontend_on_push_branch_execute_ci_cd.yml @@ -1,5 +1,5 @@ # Do not forget to change status badge in ./README.md -name: on_push_branch__execute_ci_cd +name: frontend_on_push_branch_execute_ci_cd on: push: @@ -19,9 +19,10 @@ jobs: container: hexpm/elixir:1.15.7-erlang-26.2.2-debian-bullseye-20240130-slim steps: - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '18.12.1' + node-version: ${{env.NODE_VERSION}} - uses: actions/cache@v4 id: cache-npm with: @@ -61,7 +62,7 @@ jobs: path: deps key: ${{ runner.os }}-npm-v1-${{ hashFiles('**/mix.lock') }} restore-keys: ${{ runner.os }}-npm-v1 - + - run: npm --prefix frontend ci - run: npm --prefix frontend run check-types