Skip to content

feat(android): add layout module for reset layout cache #1383

feat(android): add layout module for reset layout cache

feat(android): add layout module for reset layout cache #1383

name: '[front-end] build tests'
on:
pull_request:
branches:
- main
- master
- v3.0-dev
- v3.0
paths:
- 'driver/js/packages/**'
- 'package*.json'
- 'driver/js/examples/hippy-*-demo/**'
- 'driver/js/lib/**'
- 'driver/js/scripts/**'
defaults:
run:
working-directory: driver/js
jobs:
frontend_build_tests:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 16.x, 17.x ]
steps:
- uses: actions/checkout@v3
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
registry-url: https://npm.pkg.github.com
cache: 'npm'
cache-dependency-path: driver/js/package-lock.json
- name: install
run: |
npm install && npx lerna bootstrap --no-ci
- name: lint & build
run: npm run lint & npm run build
- name: test
run: npm run coverage
- name: coverage
if: matrix.node == '16.x'
uses: codecov/codecov-action@v2