Skip to content

Commit 248d76f

Browse files
committed
chore: fix deployment warnings
Signed-off-by: flakey5 <[email protected]>
1 parent 8dda19a commit 248d76f

File tree

6 files changed

+31
-28
lines changed

6 files changed

+31
-28
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
# the `language` matrix defined below to confirm you have the correct set of
1010
# supported CodeQL languages.
1111
#
12-
name: "CodeQL Advanced"
12+
name: 'CodeQL Advanced'
1313

1414
on:
1515
push:
16-
branches: [ "main" ]
16+
branches: ['main']
1717
pull_request:
18-
branches: [ "main" ]
18+
branches: ['main']
1919
schedule:
2020
# Once a week
2121
- cron: '41 12 * * 4'
@@ -60,4 +60,4 @@ jobs:
6060
- name: Perform CodeQL Analysis
6161
uses: github/codeql-action/analyze@d6bbdef45e766d081b84a2def353b0055f728d3e # v3.29.3
6262
with:
63-
category: "/language:javascript-typescript"
63+
category: '/language:javascript-typescript'

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
with:
1818
egress-policy: block
1919
allowed-endpoints: >
20+
sparrow.cloudflare.com:443
2021
api.cloudflare.com:443
2122
api.github.com:443
2223
github.com:443
@@ -25,7 +26,7 @@ jobs:
2526
2627
- name: Git Checkout
2728
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
28-
29+
2930
- name: Setup Node
3031
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3132
with:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
with:
3939
node-version: lts/*
4040
cache: 'npm'
41-
41+
4242
- name: Install dependencies
4343
run: npm install
4444

.github/workflows/update-links.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
# Triggered by https://github.com/nodejs/node/blob/main/.github/workflows/update-release-links.yml
88
workflow_dispatch:
99
schedule:
10-
- cron: "0 0 * * *"
10+
- cron: '0 0 * * *'
1111

1212
concurrency:
1313
group: update-redirect-links
@@ -46,7 +46,7 @@ jobs:
4646
with:
4747
node-version: lts/*
4848
cache: 'npm'
49-
49+
5050
- name: Install dependencies
5151
run: npm install && npm update nodejs-latest-linker --save
5252

@@ -55,7 +55,7 @@ jobs:
5555
env:
5656
CF_ACCESS_KEY_ID: ${{ secrets.CF_ACCESS_KEY_ID }}
5757
CF_SECRET_ACCESS_KEY: ${{ secrets.CF_SECRET_ACCESS_KEY }}
58-
58+
5959
- name: Commit Changes
6060
id: git_auto_commit
6161
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
@@ -64,7 +64,7 @@ jobs:
6464
commit_message: 'chore: update redirect links'
6565
branch: update-redirect-links
6666
create_branch: true
67-
67+
6868
- name: Open and Merge Pull Request
6969
if: steps.git_auto_commit.outputs.changes_detected == 'true'
7070
run: |
@@ -90,4 +90,3 @@ jobs:
9090
SLACK_MESSAGE: The `update-links.yml` action has failed.
9191
SLACK_USERNAME: nodejs-bot
9292
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
93-

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"scripts": {
77
"start": "wrangler dev --remote",
8-
"format": "prettier --check --write \"**/*.{ts,js,mjs,json,md}\"",
8+
"format": "prettier --check --write \"**/*.{ts,js,mjs,json,jsonc,md,yml}\"",
99
"prettier": "prettier --check \"**/*.{ts,js,mjs,json,md}\"",
1010
"lint": "eslint ./src",
1111
"test": "vitest --run",

wrangler.jsonc

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,22 @@
44
"main": "src/worker.ts",
55
"compatibility_date": "2024-09-05",
66
"logpush": true,
7+
"preview_urls": false,
78
"vars": {
89
"workers_dev": true,
910
"ENVIRONMENT": "dev",
1011
"CACHING": false,
1112
"LOG_ERRORS": true,
1213
"S3_ENDPOINT": "https://07be8d2fbc940503ca1be344714cb0d1.r2.cloudflarestorage.com",
1314
"BUCKET_NAME": "dist-prod",
14-
"ORIGIN_HOST": "https://origin.nodejs.org"
15+
"ORIGIN_HOST": "https://origin.nodejs.org",
1516
},
1617
"r2_buckets": [
1718
{
1819
"binding": "R2_BUCKET",
1920
"preview_bucket_name": "dist-prod",
20-
"bucket_name": "dist-prod"
21-
}
21+
"bucket_name": "dist-prod",
22+
},
2223
],
2324
"env": {
2425
"staging": {
@@ -27,40 +28,42 @@
2728
"workers_dev": true,
2829
"ENVIRONMENT": "staging",
2930
"CACHING": true,
31+
"LOG_ERRORS": false,
3032
"S3_ENDPOINT": "https://07be8d2fbc940503ca1be344714cb0d1.r2.cloudflarestorage.com",
3133
"BUCKET_NAME": "dist-prod",
32-
"ORIGIN_HOST": "https://origin.nodejs.org"
34+
"ORIGIN_HOST": "https://origin.nodejs.org",
3335
},
3436
"r2_buckets": [
3537
{
3638
"binding": "R2_BUCKET",
3739
"preview_bucket_name": "dist-prod",
38-
"bucket_name": "dist-prod"
39-
}
40-
]
40+
"bucket_name": "dist-prod",
41+
},
42+
],
4143
},
4244
"prod": {
4345
"account_id": "07be8d2fbc940503ca1be344714cb0d1",
4446
"tail_consumers": [
4547
{
46-
"service": "dist-worker-prod-tail"
47-
}
48+
"service": "dist-worker-prod-tail",
49+
},
4850
],
4951
"vars": {
5052
"workers_dev": false,
5153
"ENVIRONMENT": "prod",
5254
"CACHING": true,
55+
"LOG_ERRORS": false,
5356
"S3_ENDPOINT": "https://07be8d2fbc940503ca1be344714cb0d1.r2.cloudflarestorage.com",
5457
"BUCKET_NAME": "dist-prod",
55-
"ORIGIN_HOST": "https://origin.nodejs.org"
58+
"ORIGIN_HOST": "https://origin.nodejs.org",
5659
},
5760
"r2_buckets": [
5861
{
5962
"binding": "R2_BUCKET",
6063
"preview_bucket_name": "dist-prod",
61-
"bucket_name": "dist-prod"
62-
}
63-
]
64-
}
65-
}
66-
}
64+
"bucket_name": "dist-prod",
65+
},
66+
],
67+
},
68+
},
69+
}

0 commit comments

Comments
 (0)