Skip to content

Commit 0d30fc8

Browse files
authored
copy npm setup to deploy (#56)
1 parent f1561a3 commit 0d30fc8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build-n-publish.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,18 @@ jobs:
108108
- name: Checkout
109109
uses: actions/[email protected]
110110

111+
- name: Set up Node
112+
uses: actions/[email protected]
113+
with:
114+
cache: 'npm'
115+
cache-dependency-path: 'backend/package-lock.json'
116+
node-version: '18'
117+
118+
- name: Install dependencies
119+
run: |
120+
cd backend
121+
npm ci
122+
111123
- name: Deploy Backend
112124
uses: cloudflare/[email protected]
113125
with:

0 commit comments

Comments
 (0)