Skip to content

Commit

Permalink
Add npm dependency installation step
Browse files Browse the repository at this point in the history
  • Loading branch information
abulsayyad123 committed Jul 16, 2023
1 parent 1ee191b commit a8df28f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,20 @@ jobs:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-

- name: Set up Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x

- name: Restore npm cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: mix deps.get
- name: Setup test server
Expand Down

0 comments on commit a8df28f

Please sign in to comment.