Skip to content

Commit

Permalink
chore: remove external github action to install elixir: include nodej…
Browse files Browse the repository at this point in the history
…s also in each job
  • Loading branch information
nwittstruck committed Mar 29, 2024
1 parent cbf8f8e commit 3f4fbda
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/frontend_on_push_branch_execute_ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,16 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: ${{env.NODE_VERSION}}
- uses: actions/cache@v4
id: cache-npm
with:
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 lint

Expand All @@ -56,6 +65,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{env.NODE_VERSION}}
- uses: actions/cache@v4
id: cache-npm
with:
Expand All @@ -76,7 +88,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: ${{env.NODE_VERSION}}
- uses: actions/cache@v4
id: cache-npm
with:
Expand Down

0 comments on commit 3f4fbda

Please sign in to comment.