Skip to content

Commit

Permalink
test: check if prod deploy in netlify works
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Oct 6, 2023
1 parent 0098a3a commit 0cb09e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-edge-function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- run: npm install
- run: npm install [email protected] [email protected] puppeteer@^11.0.0 isomorphic-fetch@^3.0.0
- run: |
(netlify deploy --build --json --auth=$NETLIFY_AUTH_TOKEN > deployInfo.json) && ( \
(netlify deploy --prod --build --json --auth=$NETLIFY_AUTH_TOKEN > deployInfo.json) && ( \
(echo "=========== Test attempt 1 ===========" && npx mocha --no-config --timeout 80000 test/**/*.test.js) || \
(echo "=========== Test attempt 2 ===========" && npx mocha --no-config --timeout 80000 test/**/*.test.js) || \
(echo "=========== Test attempt 3 ===========" && npx mocha --no-config --timeout 80000 test/**/*.test.js) \
Expand Down

0 comments on commit 0cb09e0

Please sign in to comment.