-
Notifications
You must be signed in to change notification settings - Fork 45
/
.travis.yml
35 lines (35 loc) · 910 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# @desktop @mobile @enabled
language: node_js
dist: 'focal'
node_js:
- '18'
addons:
apt:
packages:
- libgconf-2-4
cache:
yarn: true
directories:
- node_modules
- ~/.cache/Cypress
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.5
- export HUSKY_SKIP_HOOKS=1
- export NODE_OPTIONS=--openssl-legacy-provider
- export PATH=$HOME/.yarn/bin:$PATH
- export TZ=America/Los_Angeles
jobs:
include:
- name: 'Build'
script: yarn build
- name: 'Code Lint'
script: yarn lint
- name: 'Unit Tests'
script: yarn test
- name: 'E2E Tests'
if: fork = false # Note: We can only run E2E tests on canonical due to security concerns
script: yarn test:e2e
notifications:
email:
recipients: