Skip to content

Instantly share code, notes, and snippets.

Avatar
🌎

Flávio Carvalho imflavio

🌎
View GitHub Profile
View ts_ci_poc.ts
import { generateGitlabCIContents } from '~/gitlab'
import { CIConfig, CI } from '~/interfaces'
describe('[GITLAB]', () => {
it('should output the correct gitlab config', () => {
enum Stages {
INSTALL = 'install',
BUILD = 'build',
TEST = 'test',
DEPLOY = 'deploy',
View machine.js
Machine({
id: 'marxent',
initial: 'PENDING',
context: {
token: null,
error: null,
},
states: {
PENDING: {
on: {
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
View remove node_modules
find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
View flat sort
input.flat(Infinity).sort()
You can’t perform that action at this time.