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 2525 npm install -g pnpm
2626 pnpm install --frozen-lockfile
2727
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+
2836 - name : Start application server
2937 run : |
3038 pnpm dev
@@ -46,10 +54,10 @@ jobs:
4654 env :
4755 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4856 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 '
5361
5462 - name : Upload screenshots
5563 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ export default defineConfig({
1414 responseTimeout : 10000 ,
1515 env : {
1616 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 ' ,
2121 } ,
2222 /* eslint-disable @typescript-eslint/no-unused-vars */
2323 setupNodeEvents ( _on , _config ) {
You can’t perform that action at this time.
0 commit comments