Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Barrior committed Jan 10, 2024
2 parents eb19dfc + f403e80 commit 922f5ba
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 59 deletions.
17 changes: 0 additions & 17 deletions .circleci/config.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Testing

on: push

jobs:
testing:
runs-on: ubuntu-latest
steps:
- name: Copy project to machine
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node: 18

- name: Restore node_modules
id: restore-node-modules
uses: actions/cache/restore@v3
with:
path: node_modules
key: cache-${{ hashFiles('yarn.lock') }}

- name: Install dependencies
if: steps.restore-node-modules.outputs.cache-hit != 'true'
run: yarn install

- name: Cache node_modules
if: steps.restore-node-modules.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
with:
path: node_modules
key: ${{ steps.restore-node-modules.outputs.cache-primary-key }}

- name: Run lint
run: yarn lint

- name: Run testing
run: yarn test:unit
29 changes: 8 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
<h1>
JParticles ·
<a href="https://circleci.com/gh/Barrior/JParticles">
<img src="https://circleci.com/gh/Barrior/JParticles.svg?style=shield" alt="CircleCI">
</a>
<a href="https://codecov.io/gh/Barrior/JParticles">
<img src="https://codecov.io/gh/Barrior/JParticles/branch/master/graph/badge.svg?token=JYojJUPPMW" alt="Coverage" />
</a>
<a href="https://www.npmjs.com/package/jparticles">
<img src="https://img.shields.io/npm/v/jparticles/latest" alt="NPM Version">
</a>
<a href="https://www.npmjs.com/package/jparticles">
<img src="https://img.shields.io/npm/dm/jparticles.svg" alt="NPM Download">
</a>
<a href="https://www.npmjs.com/package/jparticles">
<img src="https://img.shields.io/badge/dependencies-none-brightgreen.svg" alt="Dependencies">
</a>
<a href="https://github.com/Barrior/JParticles/blob/master/LICENSE">
<img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License">
</a>
</h1>
# JParticles

[![Testing](https://github.com/Barrior/JParticles/actions/workflows/testing.yml/badge.svg?branch=master)](https://github.com/Barrior/JParticles/actions/workflows/testing.yml)
[![Coverage](https://codecov.io/gh/Barrior/JParticles/branch/master/graph/badge.svg?token=JYojJUPPMW)](https://codecov.io/gh/Barrior/JParticles)
[![NPM Version](https://img.shields.io/npm/v/jparticles/latest)](https://www.npmjs.com/package/jparticles)
[![NPM Download](https://img.shields.io/npm/dm/jparticles.svg)](https://www.npmjs.com/package/jparticles)
[![Dependencies](https://img.shields.io/badge/dependencies-none-brightgreen.svg)](https://www.npmjs.com/package/jparticles?activeTab=dependencies)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Barrior/JParticles/blob/master/LICENSE)

> 中文 | [English](./README_en.md)
Expand Down
29 changes: 8 additions & 21 deletions README_en.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
<h1>
JParticles ·
<a href="https://circleci.com/gh/Barrior/JParticles">
<img src="https://circleci.com/gh/Barrior/JParticles.svg?style=shield" alt="CircleCI">
</a>
<a href="https://codecov.io/gh/Barrior/JParticles">
<img src="https://codecov.io/gh/Barrior/JParticles/branch/master/graph/badge.svg?token=JYojJUPPMW" alt="Coverage"/>
</a>
<a href="https://www.npmjs.com/package/jparticles">
<img src="https://img.shields.io/npm/v/jparticles/latest" alt="NPM Version">
</a>
<a href="https://www.npmjs.com/package/jparticles">
<img src="https://img.shields.io/npm/dm/jparticles.svg" alt="NPM Download">
</a>
<a href="https://www.npmjs.com/package/jparticles">
<img src="https://img.shields.io/badge/dependencies-none-brightgreen.svg" alt="Dependencies">
</a>
<a href="https://github.com/Barrior/JParticles/blob/master/LICENSE">
<img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License">
</a>
</h1>
# JParticles

[![Testing](https://github.com/Barrior/JParticles/actions/workflows/testing.yml/badge.svg?branch=master)](https://github.com/Barrior/JParticles/actions/workflows/testing.yml)
[![Coverage](https://codecov.io/gh/Barrior/JParticles/branch/master/graph/badge.svg?token=JYojJUPPMW)](https://codecov.io/gh/Barrior/JParticles)
[![NPM Version](https://img.shields.io/npm/v/jparticles/latest)](https://www.npmjs.com/package/jparticles)
[![NPM Download](https://img.shields.io/npm/dm/jparticles.svg)](https://www.npmjs.com/package/jparticles)
[![Dependencies](https://img.shields.io/badge/dependencies-none-brightgreen.svg)](https://www.npmjs.com/package/jparticles?activeTab=dependencies)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Barrior/JParticles/blob/master/LICENSE)

> English | [中文](./README.md)
Expand Down

0 comments on commit 922f5ba

Please sign in to comment.