update ci gleam version to 1.5.1 #284
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: test | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: Gleam test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
submodules: recursive | |
- uses: erlef/[email protected] | |
with: | |
otp-version: "25.2" | |
gleam-version: "1.5.1" | |
rebar3-version: "3" | |
- run: gleam format --check src test | |
- run: gleam deps download | |
- run: gleam test | |
ts-test: | |
name: TypeScript build and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: "16.14.2" | |
- run: yarn --frozen-lockfile | |
- run: yarn run client:test |