diff options
-rw-r--r-- | .github/workflows/ci.yml | 31 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..50b50fb --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +name: CI + +on: [pull_request] + +env: + CI: true + +jobs: + test: + name: Node ${{ matrix.node }} + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + node: [12, 14] + + steps: + - name: Clone repository + uses: actions/checkout@v2 + + - name: Set Node.js version + uses: actions/setup-node@v1 + with: + node-version: "${{ matrix.node }}" + + - name: Install npm dependencies + run: npm ci + + - name: Test + run: npm test @@ -1,5 +1,7 @@ # Bootstrap npm starter template +[![Build Status](https://github.com/twbs/bootstrap-npm-starter/workflows/CI/badge.svg)](https://github.com/twbs/bootstrap-npm-starter/actions) + This repo is a template for creating new Bootstrap-powered npm projects, maintained by Bootstrap co-author @mdo. You can also use it as your own Bootstrap prototyping sandbox. Built with Bootstrap v4.4.1 with plans to update for v5. |