Skip to content

chore(deps): bump lru-cache from 7.18.3 to 10.0.0 #869

chore(deps): bump lru-cache from 7.18.3 to 10.0.0

chore(deps): bump lru-cache from 7.18.3 to 10.0.0 #869

Workflow file for this run

name: Test
on:
push:
branches: [ latest ]
pull_request:
branches: [ latest ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12.x, 14.x, 16.x]
# Test with oldest and newest supported boardgame.io versions
bgio: [0.41.1, latest]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Cache Node modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node }}-
${{ runner.os }}-
- name: Install npm dependencies
run: npm ci
- name: Install boardgame.io@${{ matrix.bgio }}
run: npm i -D boardgame.io@${{ matrix.bgio }}
- run: npm test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
flag-name: test-node@${{ matrix.node }}-bgio@${{ matrix.bgio }}
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
path-to-lcov: ./coverage/lcov.info
onEnd:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
path-to-lcov: ./coverage/lcov.info