diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-09-24 12:25:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-24 12:25:48 +0300 |
commit | 9d7ed5520f0101a1e98031e2e3892f9a2d7aee5b (patch) | |
tree | b1c2b9b6d5b0458b4e00d84894bff77ce1300a16 /.github | |
parent | a9b4588eb6bc36292d1c044f95fec14b02b80684 (diff) |
Add test with Bootstrap core. (#15)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c3f083d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,33 @@ +name: Tests +on: [push, pull_request] + +jobs: + run: + name: Node ${{ matrix.node }} + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + node: [8, 10, 12] + + steps: + - name: Clone repository + uses: actions/checkout@v1 + + - name: Clone twbs/bootstrap repository + run: git clone https://github.com/twbs/bootstrap.git --depth 1 + + - name: Set up Node.js + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + + - run: node --version + - run: npm --version + + - name: Install npm dependencies + run: npm ci + + - name: Run tests + run: npm run test-ci |