chore: update GitHub Actions and dependencies #40
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: Check PR | ||
on: | ||
pull_request: | ||
jobs: | ||
check-pr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
cache: yarn | ||
- name: Check commits messages | ||
uses: wagoid/commitlint-github-action@v6 | ||
- name: Check PR name | ||
uses: amannn/action-semantic-pull-request@v5 | ||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
- name: Check formatting | ||
run: yarn format | ||
- name: Check linting | ||
run: yarn lint | ||
- name: Run build | ||
run: yarn build | ||
tests: | ||
needs: check-pr | ||
uses: ./.github/workflows/tests.yml | ||
Check failure on line 41 in .github/workflows/check-pr.yaml GitHub Actions / .github/workflows/check-pr.yamlInvalid workflow file
|
||