123456789101112131415161718192021222324252627282930 |
- name: build
- on:
- pull_request:
- paths-ignore:
- - "**.md"
- push:
- branches:
- - master
- paths-ignore:
- - "**.md"
- jobs:
- build-test:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- node: ["10", "12", "14", "15"]
- steps:
- - uses: actions/checkout@v2
- - name: Setup node ${{ matrix.node }}
- uses: actions/setup-node@v2
- with:
- node-version: ${{ matrix.node }}
- - run: yarn install
- - run: yarn run test
- - run: yarn run coverage
- - uses: coverallsapp/github-action@master
- with:
- github-token: ${{ secrets.GITHUB_TOKEN }}
|