diff --git a/.github/workflows/ci.yml b/.github/workflows/build.yml similarity index 86% rename from .github/workflows/ci.yml rename to .github/workflows/build.yml index a525bf9..36297fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: CI +name: Build on: [push] @@ -24,5 +24,7 @@ jobs: npm test -- praparat --no-watch --no-progress --browsers=ChromeHeadlessCI npm run build -- praparat npm run build -- demo-app --prod + cp ./README.md ./dist/praparat + cp ./LICENSE ./dist/praparat env: CI: true diff --git a/README.md b/README.md index fb66415..01567e4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Build Status](https://github.com/itigoore01/praparat/workflows/CI/badge.svg) +![](https://github.com/itigoore01/praparat/workflows/build/badge.svg) [![npm version](https://badge.fury.io/js/praparat.svg)](https://badge.fury.io/js/praparat) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) diff --git a/scripts/build.sh b/scripts/build.sh deleted file mode 100644 index a6419dc..0000000 --- a/scripts/build.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -eu -npm run build -- praparat -cp ./README.md ./dist/praparat -cp ./LICENSE ./dist/praparat