aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
blob: f51715e9dde98380fc39bfc98446c2143ed332aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: CI

on:
  push:
    branches:
      - "main"
      - "v*.*.*"
  pull_request:

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2.0.0
      - uses: erlef/setup-beam@v1.9.0
        with:
          otp-version: "23.2"
          gleam-version: "0.19.0-rc2"
      - uses: actions/setup-node@v2
        with:
          node-version: "16.0.0"
      - run: gleam test --target erlang
      - run: gleam test --target javascript
      - run: gleam format --check src test