Skip to content

Lime 722 welsh language dl front #326

Lime 722 welsh language dl front

Lime 722 welsh language dl front #326

Workflow file for this run

name: Pre-merge checks
on:
pull_request:
types:
- opened
- reopened
- ready_for_review
- synchronize
push:
branches:
- main
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16
cache: "yarn"
- name: Install dependencies
run: yarn install
- name: Run lint
run: yarn lint
- name: Run test and write coverage
run: yarn test:coverage
- name: Run browser tests
run: yarn run test:browser:ci
- name: Run sonarcloud scan
if: ${{ github.actor != 'dependabot[bot]' }}
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}