Skip to content

fix(web-client): diasble autologout in send & pull pay #2803

fix(web-client): diasble autologout in send & pull pay

fix(web-client): diasble autologout in send & pull pay #2803

Workflow file for this run

name: "web-client"
on: push
# New pushes cancel in-progress builds.
concurrency:
group: ${{ github.workflow }} - ${{ github.job }} - ${{ github.ref }}
cancel-in-progress: true
defaults:
run:
working-directory: web-client
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Docs: https://github.com/actions/setup-node#v2
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: "16"
# Docs:
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
# https://github.com/actions/cache/blob/main/examples.md#node---npm
- name: Cache (NPM)
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Install dependencies (NPM)
# XXX(Pi): "npm ci" is currently broken: <https://github.com/npm/cli/issues/3947>
# Work around this by using "npm install" followed by a git working copy check.
run: |
npm install
git diff --exit-code
# TODO: The steps below could be done in parallel.
- name: Build (dev)
run: npm run build
# Docs: https://angular.io/guide/testing#configure-project-for-github-actions
# See also the CI config in karma.conf.js
- name: Test (Karma)
run: npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI --code-coverage
- name: Upload coverage (Codecov)
uses: codecov/codecov-action@v1
- name: Check (eslint)
run: npm run lint
- name: Check (prettier)
run: npm run format-check
# The production build takes longer, so do this last.
- name: Build (prod)
run: npm run build:prod