test: Improve coverage for Saxon Scales. #243
Workflow file for this run
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: 'tests' | |
on: | |
pull_request: | |
push: | |
branches: [develop] | |
jobs: | |
build: | |
runs-on: 'ubuntu-latest' | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
steps: | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: '16' | |
- name: 'Checkout Project' | |
uses: 'actions/checkout@v3' | |
with: | |
fetch-depth: 1 | |
- name: Install dependencies | |
run: yarn install --no-progress | |
- name: Lint code | |
run: yarn lint | |
- name: Run unit tests | |
run: yarn test | |
- name: Check if JSON conversions changed by running tests | |
run: git diff --exit-code "src/data/*.json" | |
- name: Generate production files | |
run: yarn build |