Skip to content

Commit a1ec2a0

Browse files
committed
fixup
1 parent b4f2af9 commit a1ec2a0

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/build-envs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ jobs:
206206
# where the built packages are beside the point. In that case, you can change `BUILD_CACHE_KEY` (at the top of
207207
# this file) to a constant and skip rebuilding all of the packages each time CI runs.
208208
if: steps.cache_built_packages.outputs.cache-hit == ''
209-
working-directory: dev-packages/env-tests/cloudflare-astro
210209
run: yarn build
211210

212211
- name: Publish to Cloudflare Pages
@@ -216,7 +215,7 @@ jobs:
216215
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
217216
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
218217
projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }}
219-
directory: YOUR_BUILD_OUTPUT_DIRECTORY
218+
directory: build
220219
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
221220
workingDirectory: dev-packages/env-tests/cloudflare-astro
222221

dev-packages/env-tests/cloudflare-astro/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default defineConfig({
1010
}),
1111
integrations: [
1212
sentry({
13-
dsn: '',
13+
dsn: process.env.E2E_TEST_DSN,
1414
autoInstrumentation: {
1515
requestHandler: true,
1616
},

dev-packages/env-tests/cloudflare-astro/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"dev": "astro dev",
88
"start": "astro dev",
9-
"build": "astro build",
9+
"build": "yarn build:bundle",
10+
"build:bundle": "astro build",
1011
"preview": "astro preview",
1112
"astro": "astro"
1213
},
@@ -15,5 +16,8 @@
1516
"@astrojs/cloudflare": "^8.0.2",
1617
"@sentry/astro": "7.92.0",
1718
"@sentry/profiling-node": "^1.3.2"
19+
},
20+
"volta": {
21+
"extends": "../../../package.json"
1822
}
1923
}

dev-packages/env-tests/cloudflare-astro/tsconfig.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)