Skip to content

Add CLA Assistant GitHub workflow (#706) #188

Add CLA Assistant GitHub workflow (#706)

Add CLA Assistant GitHub workflow (#706) #188

Workflow file for this run

name: Continuous Integration Main
on:
push:
branches:
- main
permissions: read-all
jobs:
unit-tests:
runs-on: ubuntu-latest
permissions: read-all
steps:
- name: Checkout
uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run version:check
- name: Lint code
run: npm run lint
- name: Lint docs
run: npm run lint:markdown
- name: Transpile code
run: npm run compile
- name: Unit test
run: npm run test:unit:ci
local-integration-tests:
runs-on: ubuntu-latest
permissions: read-all
strategy:
fail-fast: true
matrix:
browser: [headlessChrome, headlessFirefox]
steps:
- name: Checkout
uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run compile
- name: Local integration tests using ${{ matrix.browser }}
run: npm run test:integration:local:${{ matrix.browser }}:_execute