Skip to content

Latest commit

 

History

History
 
 

scripts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Scripts

This directory includes JavaScript/Shell scripts that can be executed during the build process or CI workflows.

Since GitHub runners always have Node.js runtimes preinstalled, to eliminate the need for a TypeScript runtime and accelerate the job execution time, the JavaScript scripts should be written in pure JavaScript, optionally with JSDocs to provide docs and type hints. If you're used to writing TypeScript, you can utilize tools like ts-to-jsdoc to transpile the scripts for you.

The package.json in this directory will mark all .js files in it as ES modules, so you can use top level awaits and import.metas in these scripts.

Common utility functions should be exported from modules defined in the utils folder.