Skip to content

Commit 0814051

Browse files
committed
replace circleci with gitaction
1 parent 67ebd80 commit 0814051

File tree

3 files changed

+30
-22
lines changed

3 files changed

+30
-22
lines changed

.circleci/config.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master, main ]
6+
pull_request:
7+
branches: [ master, main ]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: '18'
20+
cache: 'yarn'
21+
22+
- name: Install dependencies
23+
run: yarn install --frozen-lockfile
24+
25+
- name: Run tests
26+
run: yarn test
27+
28+
- name: Build project
29+
run: yarn build

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Documentation for Console Table Printer
22

3+
[![CI](https://github.com/console-table-printer/console-table-docu/workflows/CI/badge.svg)](https://github.com/console-table-printer/console-table-docu/actions)
34
[![Netlify Status](https://api.netlify.com/api/v1/badges/19df54dc-98e0-42a3-a348-1d54477f6522/deploy-status)](https://app.netlify.com/sites/console-table/deploys)
45
[![codecov](https://codecov.io/gh/console-table-printer/console-table-docu/graph/badge.svg?token=GAABSQBCLG)](https://codecov.io/gh/console-table-printer/console-table-docu)
56
[![Cypress Tests](https://github.com/console-table-printer/console-table-docu/actions/workflows/cypress.yml/badge.svg)](https://github.com/console-table-printer/console-table-docu/actions/workflows/cypress.yml)

0 commit comments

Comments
 (0)