Skip to content

pull in runtime

pull in runtime #30

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
env:
otp: "27.0"
gleam: "1.3.2"
rebar: "3"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.otp }}
gleam-version: ${{ env.gleam }}
rebar3-version: ${{ env.rebar }}
- run: gleam format --check src test
- run: gleam check
- run: gleam build
- run: ./scripts/update.sh
erlang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.otp }}
gleam-version: ${{ env.gleam }}
rebar3-version: ${{ env.rebar }}
- run: ./scripts/target_test.sh erlang
node:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.otp }}
gleam-version: ${{ env.gleam }}
rebar3-version: ${{ env.rebar }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: yarn install
- run: ./scripts/target_test.sh javascript nodejs
bun:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.otp }}
gleam-version: ${{ env.gleam }}
rebar3-version: ${{ env.rebar }}
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: ./scripts/target_test.sh javascript bun
deno:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.otp }}
gleam-version: ${{ env.gleam }}
rebar3-version: ${{ env.rebar }}
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x # Run with latest stable Deno.
- run: ./scripts/target_test.sh javascript deno