18 lines
549 B
YAML
18 lines
549 B
YAML
name: Unit tests
|
|
on:
|
|
workflow_call:
|
|
workflow_run:
|
|
workflows: [Crowdin Action]
|
|
types: [completed]
|
|
jobs:
|
|
test:
|
|
timeout-minutes: 20
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: ./.github/actions/dangerous-git-checkout
|
|
- run: echo 'NODE_OPTIONS="--max_old_space_size=6144"' >> $GITHUB_ENV
|
|
- uses: ./.github/actions/yarn-install
|
|
# Should be an 8GB machine as per https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
|
|
- run: yarn test
|