summaryrefslogtreecommitdiff
path: root/.github/workflows/check.yml
blob: de13b10a23845c449ea611b7efa3da536acb1619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
on: [push, pull_request]
permissions:
  contents: read
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: "22"
      - uses: erlef/setup-beam@v1
        with:
          otp-version: "27.x"
          elixir-version: "1.17"
      - run: npm ci --include=dev
      - run: npx prettier . --check
      - run: mix format --check-formatted