Unit #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit | |
on: | |
workflow_call: | |
workflow_run: | |
workflows: [Crowdin Action] | |
types: [completed] | |
jobs: | |
test: | |
name: Unit | |
timeout-minutes: 20 | |
runs-on: buildjet-2vcpu-ubuntu-2204 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/dangerous-git-checkout | |
- 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 | |
# We could add different timezones here that we need to run our tests in | |
- run: TZ=America/Los_Angeles yarn test -- --timeZoneDependentTestsOnly |