Skip to content

Enable huge 'select' statements #37

Enable huge 'select' statements

Enable huge 'select' statements #37

Workflow file for this run

name: GitHub PR test runner
on:
pull_request:
types: [ assigned, opened, synchronize, reopened ]
branches:
- main
jobs:
pr-validator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# we actually need "github.event.pull_request.commits + 1" commit
fetch-depth: 0
- name: Node setup
uses: actions/setup-node@v2.1.0
- name: Check commit syntax
run: |
yarn add @commitlint/cli@12.1.4 @commitlint/config-conventional
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
yarn run commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
- name: Run unit tests
run: ./test.sh