Skip to content

Minor changes

Minor changes #6

Workflow file for this run

name: Pre-commit check
on:
workflow_dispatch:
pull_request:
branches:
- dev
- tst
- prd
jobs:
pre-commit:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository content
uses: actions/checkout@v3
- name: Install run dependencies
run: yarn install
- name: Test Client
run: yarn test:client
- name: Test Server
run: yarn test:server
- name: Check formatting
run: yarn check:client
comment-on-pull-request:
needs: pre-commit
runs-on: ubuntu-latest
if: failure()
steps:
- name: Send message to pull request
uses: thollander/actions-comment-pull-request@v2
with:
message: "Something failed: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"