Skip to content

Bump i18next from 25.7.2 to 25.8.12 in /assets #1160

Bump i18next from 25.7.2 to 25.8.12 in /assets

Bump i18next from 25.7.2 to 25.8.12 in /assets #1160

Workflow file for this run

on: push
jobs:
test:
runs-on: ubuntu-latest
services:
db:
image: postgres:11
ports: ['5432:5432']
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
elixir: [1.18.4]
otp: [27.3.4]
node: [22.18.0]
redis: [8]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- name: Start Redis
uses: supercharge/redis-github-action@1.2.0
with:
redis-version: ${{ matrix.redis }}
- name: Setup elixir
uses: erlef/setup-elixir@v1
with:
elixir-version: ${{ matrix.elixir }} # Define the elixir version [required]
otp-version: ${{ matrix.otp }} # Define the OTP version [required]
- name: Retrieve Mix Dependencies Cache
uses: actions/cache@v3
id: mix-cache # id to use in retrieve action
with:
path: deps
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-
- name: Install Mix Dependencies
if: steps.mix-cache.outputs.cache-hit != 'true'
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Retrieve PLT Cache
uses: actions/cache@v3
id: plt-cache
with:
path: priv/plts
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-plts2-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-plts2-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-plts2-
- name: Create PLTs
if: steps.plt-cache.outputs.cache-hit != 'true'
run: |
mix dialyzer --plt
- name: Load list of bots for bot detection
run: mix ua_inspector.download --force
- name: Run tests without wallaby
run: mix test --exclude wallaby:true
- name: Run coveralls.github
run: MIX_ENV=test mix coveralls.github --exclude wallaby:true
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Build javascript bundle
run: cd assets && yarn install && yarn deploy