File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 25
25
npm install -g pnpm
26
26
pnpm install --frozen-lockfile
27
27
28
+ - name : Create .env file for Testing
29
+ run : |
30
+ echo "NEXT_PUBLIC_BASE_URL=http://localhost:3000" >> .env
31
+ echo "NEXT_PUBLIC_CHANNELTALK_PLUGIN_KEY=sample_key" >> .env
32
+ echo "NEXT_PUBLIC_GA_ID=sample_id" >> .env
33
+ echo "NEXT_PUBLIC_SENTRY_AUTH_TOKEN=sample_token" >> .env
34
+ echo "NEXT_PUBLIC_SENTRY_DSN=sample_dsn" >> .env
35
+
28
36
- name : Start application server
29
37
run : |
30
38
pnpm dev
@@ -46,10 +54,10 @@ jobs:
46
54
env :
47
55
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48
56
NEXT_PUBLIC_BASE_URL : ' http://localhost:3000'
49
- NEXT_PUBLIC_CHANNELTALK_PLUGIN_KEY : ' test_key '
50
- NEXT_PUBLIC_GA_ID : ' '
51
- NEXT_PUBLIC_SENTRY_AUTH_TOKEN : ' test_sentry_token '
52
- NEXT_PUBLIC_SENTRY_DSN : ' test_sentry_dsn '
57
+ NEXT_PUBLIC_CHANNELTALK_PLUGIN_KEY : ' sample_key '
58
+ NEXT_PUBLIC_GA_ID : ' sample_id '
59
+ NEXT_PUBLIC_SENTRY_AUTH_TOKEN : ' sample_token '
60
+ NEXT_PUBLIC_SENTRY_DSN : ' sample_dsn '
53
61
54
62
- name : Upload screenshots
55
63
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ export default defineConfig({
14
14
responseTimeout : 10000 ,
15
15
env : {
16
16
NEXT_PUBLIC_BASE_URL : 'http://localhost:3000' ,
17
- NEXT_PUBLIC_CHANNELTALK_PLUGIN_KEY : 'test_key ' ,
18
- NEXT_PUBLIC_GA_ID : '' ,
19
- NEXT_PUBLIC_SENTRY_AUTH_TOKEN : 'test_sentry_token ' ,
20
- NEXT_PUBLIC_SENTRY_DSN : 'test_sentry_dsn ' ,
17
+ NEXT_PUBLIC_CHANNELTALK_PLUGIN_KEY : 'sample_key ' ,
18
+ NEXT_PUBLIC_GA_ID : 'sample_id ' ,
19
+ NEXT_PUBLIC_SENTRY_AUTH_TOKEN : 'sample_token ' ,
20
+ NEXT_PUBLIC_SENTRY_DSN : 'sample_dsn ' ,
21
21
} ,
22
22
/* eslint-disable @typescript-eslint/no-unused-vars */
23
23
setupNodeEvents ( _on , _config ) {
You can’t perform that action at this time.
0 commit comments