Optimizing GAS Deployment: npm-free CI/CD with glasp on GitHub Actions
This technical article introduces glasp, a Go-based command-line interface tool for Google Apps Script (GAS) designed to operate without Node.js dependencies. The author highlights the advantages of using glasp over the traditional clasp tool within GitHub Actions CI/CD pipelines. By eliminating the need for Node.js environment setup and npm installations, glasp significantly reduces startup time and lowers supply chain security risks associated with numerous transitive dependencies. Performance benchmarks demonstrate that glasp is approximately 7.9 times faster than clasp in total execution time, primarily due to a 14.3x reduction in setup time. The tool utilizes a single static binary and leverages Go’s Goroutines for concurrent file processing, enhancing efficiency in push and pull operations. The article provides a practical guide for configuring GitHub Actions to use glasp, emphasizing its suitability for developers seeking leaner, faster, and more secure deployment workflows for Google Apps Script projects.
Wire timeline
Optimizing GAS Deployment: npm-free CI/CD with glasp on GitHub Actions
This technical article introduces glasp, a Go-based command-line interface tool for Google Apps Script (GAS) designed to operate without Node.js dependencies. The author highlights the advantages of using glasp over the traditional clasp tool within GitHub Actions CI/CD pipelines. By eliminating the need for Node.js environment setup and npm installations, glasp significantly reduces startup time and lowers supply chain security risks associated with numerous transitive dependencies. Performance benchmarks demonstrate that glasp is approximately 7.9 times faster than clasp in total execution time, primarily due to a 14.3x reduction in setup time. The tool utilizes a single static binary and leverages Go’s Goroutines for concurrent file processing, enhancing efficiency in push and pull operations. The article provides a practical guide for configuring GitHub Actions to use glasp, emphasizing its suitability for developers seeking leaner, faster, and more secure deployment workflows for Google Apps Script projects.
DEV Community