build: update dependencies and run linter #51
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: Pull Request Checks | |
on: [pull_request] | |
jobs: | |
check: | |
name: "Pull request check" | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Check correct commit formatting | |
uses: wagoid/commitlint-github-action@v4 | |
with: | |
firstParent: false | |
- name: Check formatting | |
run: yarn prettier-check | |
- name: Check formatting | |
run: yarn eslint-check | |
- name: Validate Semantic Release | |
run: npx semantic-release --dry-run | |
- name: Build Plugin | |
run: yarn prod |