mirror of https://gitee.com/antv-l7/antv-l7
23 lines
517 B
YAML
23 lines
517 B
YAML
name: test
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: macos-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [14.x]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- run: yarn
|
|
- run: yarn run worker
|
|
- run: yarn test-cover
|
|
- name: Coveralls
|
|
uses: coverallsapp/github-action@master
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }} |