Skip to content

Instantly share code, notes, and snippets.

@thiagoolsilva
Created December 13, 2021 01:28
Show Gist options
  • Save thiagoolsilva/e9e6db2b9c41fb5e3130bf3019f6de0d to your computer and use it in GitHub Desktop.
Save thiagoolsilva/e9e6db2b9c41fb5e3130bf3019f6de0d to your computer and use it in GitHub Desktop.
include:
- type: git
repo: https://github.com/batect/node-bundle.git
ref: 0.25.0
tasks:
# Build
build:
group: Build
description: Install all dependencies into docker volume
run:
container: node-build-env
command: npm run build
install:
group: Build
description: Build code
run:
container: node-build-env
command: npm install
# General
start:
group: General
description: Run project
run:
container: node-build-env
command: npm run start
# Test
unit-testing:
group: test
description: Run unit testing
run:
container: node-build-env
command: npm run test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment