chore(deps): update dependency mocha to v10 #265
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js CI | |
'on': [push, pull_request] | |
jobs: | |
test-node: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, ubuntu-18.04] | |
node-version: [10.x, 12.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: yarn install --pure-lockfile | |
- run: yarn test | |
- run: yarn run prettier | |
fmt-c: | |
runs-on: ubuntu-18.04 | |
name: 'Format C++ & Yaml Code' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Python to format C++ | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- run: pip install yamllint | |
- run: | | |
set +o noglob ; | |
find lib -name '*.cc' -printf '%h\0\c' | xargs -0 ./run-clang-format.py -r | |
- run: yamllint . |