update dockerfile #174
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] | |
- uses: erlef/[email protected] | |
with: | |
otp-version: "25.2" | |
gleam-version: "0.29.0" | |
rebar3-version: "3" | |
elixir-version: "1.14.2" | |
- 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 |