v0.4.1
A ready-to-use CI/CD Pipeline and jobs for NodeJS projects.
Attributes
Includes Deno configuration
Repository
Current version released
a year ago
Dependencies
deno.land/x
other
Node.js Pipeline
A ready-to-use CI/CD Pipeline for your Node.js projects.
🚀 Usage
Run the following command:
dagger run fluentci nodejs_pipeline
Or, if you want to use it as a template:
fluentci init -t nodejs
This will create a .fluentci
folder in your project.
Now you can run the pipeline with:
dagger run fluentci .
Or simply:
fluentci
Environment variables
Variable | Description | Default |
---|---|---|
NODE_VERSION | Node version to use | 18.16.1 |
PACKAGE_MANAGER | Package manager to use (npm, yarn, pnpm) | npm |
Jobs
Job | Description |
---|---|
build | Build the project |
install | Install dependencies |
test | Run the tests |
run | Run a custom task |
build(
nodeVersion: String!,
packageManager: String!,
src: String!
): String
install(
nodeVersion: String!,
packageManager: String!,
src: String!
): String
run(
nodeVersion: String!,
packageManager: String!,
src: String!,
task: String!
): String
test(
nodeVersion: String!,
packageManager: String!,
src: String!
): String
Programmatic usage
You can also use this pipeline programmatically:
import { test, build } from "https://pkg.fluentci.io/nodejs_pipeline@v0.4.1/mod.ts";
await test();
await build();