Skip to content

Commit

Permalink
Rename package and replace CI with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
DABH committed Feb 12, 2022
1 parent 627efe4 commit fa97dc3
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 6 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
pull_request:
branches:
- main
- master
push:
branches:
- main
- master

jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 12
- 14
- 16
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: npm clean-install
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: TypeScript Test
run: npx --package typescript tsc
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Original Library

Additional Functionality
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
- Copyright (c) DABH (https://github.com/DABH)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# colors.js
[![Build Status](https://travis-ci.org/Marak/colors.js.svg?branch=master)](https://travis-ci.org/Marak/colors.js)
[![Build Status](https://github.com/DABH/colors.js/actions/workflows/ci.yml/badge.svg)](https://github.com/DABH/colors.js/actions/workflows/ci.yml)
[![version](https://img.shields.io/npm/v/colors.svg)](https://www.npmjs.org/package/@dabh/colors)

Please check out the [roadmap](ROADMAP.md) for upcoming features and releases. Please open Issues to provide feedback, and check the `develop` branch for the latest bleeding-edge updates.
Please check out the [roadmap](ROADMAP.md) for upcoming features and releases. Please open Issues to provide feedback.

## get color and style in your node.js console

Expand Down Expand Up @@ -140,9 +140,9 @@ colors.disable();
## Console.log [string substitution](http://nodejs.org/docs/latest/api/console.html#console_console_log_data)

```js
var name = 'Marak';
var name = 'Beowulf';
console.log(colors.green('Hello %s'), name);
// outputs -> 'Hello Marak'
// outputs -> 'Hello Beowulf'
```

## Custom themes
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@dabh/colors",
"name": "@colors/colors",
"description": "get colors in your node.js console",
"version": "1.4.0",
"author": "Marak Squires",
"author": "DABH",
"contributors": [
{
"name": "DABH",
Expand Down

0 comments on commit fa97dc3

Please sign in to comment.