From 9e0e8b4c3ff5cbb09c7f243868e9c026a1bf7e8f Mon Sep 17 00:00:00 2001 From: Tina Date: Fri, 26 Jan 2024 09:42:29 +0700 Subject: [PATCH] Test version upgrade --- .github/workflows/main.yml | 4 ++-- package.json | 4 ++-- wrangler.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6a8b81a..ae3e485 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,11 +24,11 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Dependencies run: npm install - name: Deploy to Cloudflare Workers with Wrangler - uses: cloudflare/wrangler-action@2.0.0 + uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} command: deploy diff --git a/package.json b/package.json index 156741a..53cdcac 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "author": "tina-hello", "license": "0BSD", - "devDependencies": { - "prettier": "^1.18.2" + "dependencies": { + "wrangler": "^3.24.0" } } diff --git a/wrangler.toml b/wrangler.toml index f71a0ab..89a6e91 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,4 +1,4 @@ name = "doh" workers_dev = true -compatibility_date = "2023-03-14" +compatibility_date = "2024-01-26" main = "index.js"