Skip to content

Merge pull request #18 from OpenDTU-App/separate-translations #67

Merge pull request #18 from OpenDTU-App/separate-translations

Merge pull request #18 from OpenDTU-App/separate-translations #67

Workflow file for this run

name: Continuous Integration
on:
push:
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
permissions:
contents: write
checks: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Node
uses: actions/setup-node@v4
- name: Cache node modules
uses: c-hive/gha-yarn-cache@v1
- name: Install node modules
run: |
yarn install --frozen-lockfile --prefer-offline
- name: Run ESLint
run: |
yarn lint --max-warnings=0
- name: Run tests
uses: willcaul/jest-github-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
test-command: "yarn test"