Skip to content

Commit

Permalink
Update deployment for TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
Kr1sh1 committed Mar 1, 2024
1 parent 0bd5f87 commit ab12e47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
run: npm install -g twilio-cli
- name: twilio serverless
run: twilio plugins:install @twilio-labs/plugin-serverless@v3
- name: Transpile with Babel ESM syntax to CJS
run: npm run transpile
- name: Compile TypeScript files to JavaScript
run: npm run build
- name: twilio serverless:deploy
env:
TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": true,
"scripts": {
"transpile": "babel functions --out-dir functions --no-comments"
"build": "tsc"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.521.0",
Expand Down

0 comments on commit ab12e47

Please sign in to comment.