Skip to content

aj/ensure tsc installed #507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ci/input_files/build.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ stages:
- apt-get update
- apt-get install nodejs -y
- npm install --global yarn
- npm install --global tsc
- npm install --global typescript

.node-before-script: &node-before-script
- echo 'yarn-offline-mirror ".yarn-cache/"' >> .yarnrc
Expand Down Expand Up @@ -175,5 +175,6 @@ publish-npm-package:
{{- end }}
before_script:
- *install-node
- *node-before-script
script:
- ./ci/publish_npm.sh
2 changes: 1 addition & 1 deletion ci/publish_npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ echo 'Publishing to NPM'
if [ -d "./dist" ]; then
rm -rf ./dist
fi
npm run build
yarn build
cp ./dist/handler.cjs ./dist/handler.js
npm publish