Skip to content

ocular-dev-tools@2.0.0-alpha.29 #220

ocular-dev-tools@2.0.0-alpha.29

ocular-dev-tools@2.0.0-alpha.29 #220

Workflow file for this run

name: test
# On every pull request, but only on push to master
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v2.1.1
- uses: c-hive/gha-yarn-cache@v1
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Bootstrap
run: |
yarn bootstrap
- name: Run tests
run: |
npm run lint
npm run test cover
npm run cover
- name: Coveralls
if: matrix.node-version == 12
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ${{ github.workspace }}/coverage/lcov.info