diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c69b376..fdc89e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,6 +84,16 @@ jobs: - name: Checkout uses: actions/checkout@v3.5.0 + - name: Set up Node + uses: actions/setup-node@v3.6.0 + with: + cache: 'npm' + cache-dependency-path: '**/package-lock.json' + node-version: '18' + + - name: Install dependencies + run: npm ci + - name: Deploy backend uses: cloudflare/wrangler-action@2.0.0 with: diff --git a/backend/package.json b/backend/package.json index 0c53723..674e63a 100644 --- a/backend/package.json +++ b/backend/package.json @@ -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"