Skip to content

Commit fbdfe85

Browse files
authored
Merge pull request #22 from datatrans/use-github-actions
use github actions
2 parents 94e281d + 9bc3628 commit fbdfe85

4 files changed

Lines changed: 21 additions & 18 deletions

File tree

.circleci/config.yml

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

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: ci
2+
on: [push]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
name: Run tests
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-node@v2
11+
with:
12+
node-version: '12'
13+
cache: 'npm'
14+
- name: Install dependencies
15+
run: |
16+
npm install -g npm@latest
17+
npm install
18+
- name: Run tests
19+
run: npm test

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.circleci
1+
.github
22
/example
33
.cache
44
dist

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![NPM version][npm-version-image]][npm-url] [![Build Status](https://circleci.com/gh/datatrans/react-datatrans-light-box.png?circle-token=:circle-token)](https://circleci.com/gh/datatrans/react-datatrans-light-box)
1+
[![NPM version][npm-version-image]][npm-url] ![CI](https://github.com/datatrans/react-datatrans-light-box/actions/workflows/ci.yml/badge.svg?branch=master)
22

33
# Datatrans React Light Box
44

0 commit comments

Comments
 (0)