Files
frontend-app-discussions/.github/workflows/ci.yml
Mehak Nasir c0f675f41a revert: node 16 upgrade is reverted (#132)
* revert: node 16 upgrade is reverted

* revert: reverted frontend build version to 9.1.2

* revert: browsers list

Co-authored-by: Awais Ansari <awais.ansari63@gmail.com>
2022-04-15 23:33:29 +05:00

38 lines
811 B
YAML

name: Default CI
on:
push:
branches:
- 'master'
pull_request:
branches:
- '**'
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Nodejs
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm ci
- name: Validate package-lock.json changes
run: make validate-no-uncommitted-package-lock-changes
- name: Lint
run: npm run lint
- name: Test
run: npm run test
- name: Build
run: npm run build
- name: i18n_extract
run: npm run i18n_extract
- name: Coverage
uses: codecov/codecov-action@v2