Skip to content

Commit

Permalink
Install dependencies to build/deploy backend
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-flinn committed Sep 21, 2023
1 parent dd43f6e commit d074c8b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,16 @@ jobs:
- name: Checkout
uses: actions/[email protected]

- name: Set up Node
uses: actions/[email protected]
with:
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
node-version: '18'

- name: Install dependencies
run: npm ci

- name: Deploy backend
uses: cloudflare/[email protected]
with:
Expand Down
6 changes: 3 additions & 3 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"version": "0.0.0",
"private": true,
"scripts": {
"deploy": "wrangler deploy",
"start": "wrangler dev --remote"
"dev": "wrangler dev --remote",
"deploy": "wrangler deploy"
},
"devDependencies": {
"wrangler": "^3.6.0"
"wrangler": "^3.7.0"
},
"dependencies": {
"hono": "^3.6.1"
Expand Down

0 comments on commit d074c8b

Please sign in to comment.