Skip to content

add cache false test #40

add cache false test

add cache false test #40

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu, windows, macos]
node: ['20', '18']
runs-on: ${{ matrix.os }}-latest
name: ${{ matrix.os }} node@${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: install
run: npm install
- name: lint
run: npm run lint
- name: test
run: npm test
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
path-to-lcov: coverage/lcov.info
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.os }}-${{ matrix.node }}
parallel: true
finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Merge
uses: coverallsapp/github-action@master
with:
path-to-lcov: coverage/lcov.info
github-token: ${{ secrets.github_token }}
parallel-finished: true