Skip to content

Update babel monorepo to v7.22.20 #465

Update babel monorepo to v7.22.20

Update babel monorepo to v7.22.20 #465

Workflow file for this run

name: CI
on: push
env:
OTP_VERSION: 22.2
ELIXIR_VERSION: 1.9.4
NODE_VERSION: 13.x
jobs:
mix_test:
name: Test Elixir
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
steps:
- uses: actions/checkout@v1
- uses: actions/setup-elixir@v1.5.0
with:
otp-version: ${{ env.OTP_VERSION }}
elixir-version: ${{ env.ELIXIR_VERSION }}
- name: Install Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Run Tests
run: mix test
npm_test:
name: Test Javascript
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-elixir@v1.5.0
with:
otp-version: ${{ env.OTP_VERSION }}
elixir-version: ${{ env.ELIXIR_VERSION }}
- name: Install Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: npm install and test
run: |
cd apps/welcome2_web/assets
npm install
npm test