Skip to content

fix: Fixes restart command being unavailable if initial start failed … #146

fix: Fixes restart command being unavailable if initial start failed …

fix: Fixes restart command being unavailable if initial start failed … #146

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run linter
run: yarn lint
test-unit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run unit tests
run: yarn test
test-e2e:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: "24.3.4.13"
elixir-version: "1.13.4-otp-24"
version-type: strict
- run: yarn install --frozen-lockfile
- run: |
epmd -daemon
xvfb-run -a yarn test:e2e
check-format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Verify formatting
run: yarn format:check
typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Typecheck
run: yarn tsc --noEmit
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Compile
run: yarn esbuild