Change asciinema container style #94
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: CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: ['**'] | |
paths-ignore: ['*.adoc'] | |
pull_request: | |
branches: [main] | |
paths-ignore: ['*.adoc'] | |
schedule: | |
- cron: '45 2 * * TUE' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run linter | |
run: | | |
npm run lint | |
if [ -n "$(npm --silent run format && git --no-pager diff --name-only)" ]; then | |
echo 'Detected pending code style changes' | |
exit 1 | |
fi | |
- name: Run tests with coverage | |
run: npm run coverage-strict |