Skip to content

Commit

Permalink
Add staging bundle command
Browse files Browse the repository at this point in the history
  • Loading branch information
forgetso committed Jul 30, 2024
1 parent a28b142 commit 7831942
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
echo "Navigating to 'packages/procaptcha-bundle' and building JS bundle..."
cd packages/procaptcha-bundle
NODE_ENV=production npm run bundle:staging
NODE_ENV=staging npm run bundle:staging
- name: Build docker js_server
run: |
Expand Down
1 change: 1 addition & 0 deletions packages/procaptcha-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"start": "vite serve --mode development --host",
"bundle:dev": "vite build --config vite.config.ts --mode development --debug",
"bundle:dev:webpack": "webpack build --config webpack.config.cjs --mode development",
"bundle:staging": "vite build --config vite.config.ts --mode development",
"bundle:prod": "vite build --config vite.config.ts --mode production",
"eslint": "npx eslint . --cache --cache-location ../../node_modules/.cache/eslint/.eslintcache --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore --quiet",
"eslint:fix": "npm run eslint -- --fix --quiet",
Expand Down

0 comments on commit 7831942

Please sign in to comment.