Skip to content

update

update #4

Workflow file for this run

name: ci-app
on:
pull_request:
paths:
- app/**
- .github/**
push:
paths:
- app/**
- .github/**
jobs:
ci:
name: ci
runs-on: ubuntu-latest
defaults:
run:
working-directory: app
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install
run: yarn install
- name: eslint
run: yarn run lint
- name: Test
run: yarn run test
- name: Build
run: yarn run build
- name: Check translations
run: yarn run i18n