在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:semaphoreci-demos/semaphore-demo-javascript开源软件地址:https://github.com/semaphoreci-demos/semaphore-demo-javascript开源编程语言:TypeScript 87.6%开源软件介绍:Semaphore demo CI/CD pipeline using JavaScript (Node.js, TypeScript, Nest.js, React)Example application and CI/CD pipeline showing how to run a JavaScript project on Semaphore 2.0. Project consists of a Node.js server based on Nest.js, and a React client. Code is written in TypeScript. CI/CD on SemaphoreFork this repository and use it to create a project. The CI pipeline will look like this: The example pipeline contains 4 blocks:
Then, if all checks are ok, we move to build pipeline. It consists of one block
Then, after we've built our apps we move to deploy pipeline. It also consists of one block for client and of two for server. As you can see deploy pipelines of client and server depend only on their own build step and therefore could be run in parallel.
Local project setupThis project requires a PostgreSQL database. If you don't have one you can launch a Docker container to have one. Configuration$ cp .sample.env .env Launch db$ docker-compose up Stop db$ docker-compose down Configure and launch serverSteps described in server README Configure and launch clientSteps described in client README Deploy configurationCheck out LicenseCopyright (c) 2019 Rendered Text Distributed under the MIT License. See the file LICENSE.md. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论