Skip to content

Commit a490704

Browse files
author
Eliran Eliassy
committed
update deploy.yml
1 parent 6731f1c commit a490704

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,17 @@ jobs:
1414
- name: Checkout repository
1515
uses: actions/checkout@v4
1616

17-
- name: Set up Node.js and pnpm
17+
- name: Set up Node.js
1818
uses: actions/setup-node@v4
1919
with:
2020
node-version: 20
21+
cache: 'npm'
2122

22-
- name: Install pnpm
23-
run: npm install -g pnpm
23+
- name: Install dependencies
24+
run: npm ci
2425

25-
- name: Install dependencies with pnpm
26-
run: pnpm install --frozen-lockfile
27-
28-
- name: Build project with pnpm
29-
run: pnpm run build
26+
- name: Build project
27+
run: npm run build
3028

3129
- name: Deploy to S3
3230
uses: jakejarvis/[email protected]

0 commit comments

Comments
 (0)