Fix: limit commit type to feat, fix or perf #1085
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: Test & validate | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: "14" | |
- run: yarn install | |
- name: Test | |
working-directory: lib | |
run: yarn test:ci | |
- name: Validate | |
working-directory: lib | |
run: yarn validate |