Skip to content

Commit

Permalink
upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugome committed Dec 28, 2022
1 parent 9a26870 commit f469392
Show file tree
Hide file tree
Showing 12 changed files with 1,596 additions and 6,861 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/build.yaml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Coverage

on: [push]

jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: supercharge/[email protected]
with:
redis-version: '6'

- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'

- run: npm ci
- run: npm run test -- --forceExit --coverage

- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true

- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
25 changes: 0 additions & 25 deletions .github/workflows/pr-test.yaml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish to NPM

on:
push:
tags:
- 'v*.*.*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 19.x]

steps:
- uses: actions/checkout@v3
- uses: supercharge/[email protected]
with:
redis-version: '6'
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm test -- --forceExit
env:
CI: true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# moleculer-stripe

[![Build](https://github.com/LuxChanLu/moleculer-stripe/actions/workflows/build.yaml/badge.svg)](https://github.com/LuxChanLu/moleculer-stripe/actions/workflows/build.yaml)
[![Build](https://github.com/LuxChanLu/moleculer-stripe/actions/workflows/test.yml/badge.svg)](https://github.com/LuxChanLu/moleculer-stripe/actions/workflows/test.yml)
[![Coverage Status](https://coveralls.io/repos/github/LuxChanLu/moleculer-stripe/badge.svg?branch=master)](https://coveralls.io/github/LuxChanLu/moleculer-stripe?branch=master)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/222925eedf9c42aaa454b7138d687878)](https://www.codacy.com/gh/LuxChanLu/moleculer-stripe/dashboard?utm_source=github.com&utm_medium=referral&utm_content=LuxChanLu/moleculer-stripe&utm_campaign=Badge_Grade)
[![Maintainability](https://api.codeclimate.com/v1/badges/bc0acd387a21af63ba39/maintainability)](https://codeclimate.com/github/LuxChanLu/moleculer-stripe/maintainability)
[![Known Vulnerabilities](https://snyk.io/test/github/LuxChanLu/moleculer-stripe/badge.svg)](https://snyk.io/test/github/LuxChanLu/moleculer-stripe)
![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/npm/moleculer-stripe)
[![Downloads](https://img.shields.io/npm/dm/moleculer-stripe.svg)](https://www.npmjs.com/package/moleculer-stripe)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FLuxChanLu%2Fmoleculer-sentry.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FLuxChanLu%2Fmoleculer-sentry?ref=badge_shield)


## Stripe product available in this service

Ready for new PSD2 EU reglementations (SCA)
Expand Down
Loading

0 comments on commit f469392

Please sign in to comment.