Skip to content

Commit 9158f3d

Browse files
committed
Fix Node.js dependency installation in GitHub Actions
1 parent 99cc3d2 commit 9158f3d

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,16 @@ jobs:
2727
mix local.rebar --force
2828
mix deps.get
2929
30-
- name: Install Node.js
30+
- name: Set up Node.js
3131
uses: actions/setup-node@v3
3232
with:
3333
node-version: '18'
34+
cache: 'npm'
3435

35-
- name: Install dependencies
36-
run: npm install
36+
- name: Install Node.js dependencies
37+
run: |
38+
npm ci --prefer-offline --no-audit
39+
npm install esbuild@0.17.11
3740
3841
- name: Build assets
3942
run: |

0 commit comments

Comments
 (0)