From 14b6177cadca023a3a0a1bafb28c1fb0fd9d2628 Mon Sep 17 00:00:00 2001 From: Ben Meyrick Date: Wed, 26 May 2021 17:24:02 +0100 Subject: [PATCH] Prepare for deploying --- .npmignore | 5 +++++ .travis.yml | 20 ++++++++++++++++++++ README.md | 3 +++ 3 files changed, 28 insertions(+) create mode 100644 .npmignore create mode 100644 .travis.yml diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..c8f26cf --- /dev/null +++ b/.npmignore @@ -0,0 +1,5 @@ +* +!/dist/**/* +!/LICENSE +!/package.json +!/yarn.lock diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..d5cc66d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: node_js +version: '~> 1.0.0' +node_js: + - 14.17.0 +cache: yarn +jobs: + include: + - stage: npm-bundle + script: yarn build && npm version $TRAVIS_BRANCH --allow-same-version --allow-empty + deploy: + edge: true + provider: npm + email: bameyrick@gmail.com + api_token: + secure: o9BBFb7Mv+nuVOt+WxS4ohWhCN/Pawria1q8IiZaOStl5SxIod3G0uCzYD8kK87qClTe20HkBAjxkrso7DTmMlLiNLIaKckxxsLO/JQkJDAyHhaArUxqVEcs6hIGDBbDJijm6+0dcqYaLbIEp0YszHM5mpdc51tTrPPxDCNifkC1RXoZ+T9igKGy+ymj/ED/8mGUqvo2g7Kuw5cSkCoBK3AUgOd19J4RFa+sUa+/JqxZHZh7TrCbtuytptCJN0RJQvMarnRKY/U2W7H0FCECsOF3lNaeJ9H6nlEQ6vx5XNIKnuiAWYjkvo/MGMJMYv81JNT7gKQFdfdepaCr2TGApoJv3UrGbsvYZ4e5Z2Tw3XvV9Irbb/+7dLgqcfA9/gnPJ72X8cC0vc4kV6OWuApmNeR4qGFspx3a1s6Xz40YodrfY0VuGGyQRgyDhKHxDfbSLP2oK1aH824hKEDzr4IPUcDYaQ0aO4ivmT+5w1ZOi2or9NQ8XKrNUg61e29fKjqJwDy3DARxNnDppjZpGdY9DI0c44I3zgJm1YzUWzIoCihV9eUoStzmYo4XYROlwFJV/074IS4+ekgO3SUpTAfrjDi6wZMLtJoJdvLlZLxY+4nXQ0XVbh5zUMZHzmKEk3szIBkKXiOgwS5Ccd9+GPf9FgPXBmFen5hP19giug0ECao= + on: + tags: true +stages: + - name: npm-bundle + if: tag IS present diff --git a/README.md b/README.md index 5feac22..9ae670a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # concurrently-await +[![GitHub release](https://img.shields.io/github/release/bameyrick/concurrently-await.svg)](https://github.com/bameyrick/concurrently-await/releases) +[![Build Status](https://travis-ci.com/bameyrick/concurrently-await.svg?branch=master)](https://travis-ci.com/bameyrick/concurrently-await) + Run multiple commands concurrently with the option to supply a condition to pass before running the next command. **Table of contents**