Skip to content

build(deps-dev): bump postcss from 8.4.14 to 8.4.31 in /assets #288

build(deps-dev): bump postcss from 8.4.14 to 8.4.31 in /assets

build(deps-dev): bump postcss from 8.4.14 to 8.4.31 in /assets #288

Workflow file for this run

name: CI
on: push
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: radiopush_test
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
MIX_ENV: test
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-elixir@v1
with:
otp-version: "24.1.x"
elixir-version: "1.13.x"
- uses: actions/cache@v1
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-mix-
- uses: actions/setup-node@v1
with:
node-version: "12.x"
# - uses: nanasess/setup-chromedriver@master
# with:
# chromedriver-version: "79.0.3945.36"
# - run: |
# export DISPLAY=:99
# chromedriver --url-base=/wd/hub &
# sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
- run: mix local.rebar --force
- run: mix local.hex --force
- run: mix deps.get
- run: npm install --prefix assets
- run: npm run deploy --prefix assets
- run: mix format --check-formatted
- run: mix surface.format --check-formatted
- run: mix test