From 9cdf601032fdbb460941262a4e918dcf40822c20 Mon Sep 17 00:00:00 2001 From: David Hanson <1564426+Davidhanson90@users.noreply.github.com> Date: Fri, 5 Nov 2021 08:36:39 +0000 Subject: [PATCH] Migrate to github actions --- .npmignore | 1 + package.json | 6 +++--- readme.md | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.npmignore b/.npmignore index ee5e6ad..512876c 100644 --- a/.npmignore +++ b/.npmignore @@ -4,6 +4,7 @@ spec/ reports/ dist/spec/ .vscode/ +.github/**/* karma.conf.js karma.base.conf.js diff --git a/package.json b/package.json index fab510c..4f0f15d 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "0.3.10", + "version": "0.3.11", "description": "A small & lightweight dependency injection container for use in multiple contexts like Angular, React & node.", "name": "@morgan-stanley/needle", "license": "Apache-2.0", @@ -21,7 +21,7 @@ "build": "tsc -p main/tsconfig.json", "postbuild": "npm run copy", "copy": "copyfiles main/**/*.html main/**/*.css main/**/*.jpg dist", - "prebuild-release": "npm ci && npm run clean && npm run verify-release", + "prebuild-release": "npm run clean && npm run verify-release", "verify-release": "concurrently --kill-others-on-fail npm:lint npm:test npm:build", "build-release": "npm run copy-dist && typedoc", "watch-build": "tsc --watch", @@ -44,7 +44,7 @@ "ajv": "^6.10.2", "chromedriver": "^2.44.1", "circular-dependency-plugin": "^5.2.0", - "codecov": "^3.7.0", + "codecov": "^3.8.3", "concurrently": "^4.1.0", "copyfiles": "^1.2.0", "eslint": "^7.20.0", diff --git a/readme.md b/readme.md index 0793b84..69961fb 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ # @morgan-stanley/needle ![npm](https://img.shields.io/npm/v/@morgan-stanley/needle) -[![Build Status](https://travis-ci.com/MorganStanley/needle.svg?branch=main)](https://travis-ci.com/MorganStanley/needle?branch=main) +[![Build Status](https://github.com/morganstanley/needle/actions/workflows/build.yml/badge.svg)](https://github.com/Roaders/needle/actions/workflows/build.yml) [![codecov](https://codecov.io/gh/MorganStanley/needle/branch/master/graph/badge.svg)](https://codecov.io/gh/MorganStanley/needle) [![Known Vulnerabilities](https://snyk.io/test/github/MorganStanley/needle/badge.svg)](https://snyk.io/test/github/MorganStanley/needle}) ![NPM](https://img.shields.io/npm/l/@morgan-stanley/needle)