-
Notifications
You must be signed in to change notification settings - Fork 29
53 lines (50 loc) · 1.74 KB
/
apps.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Apps
on: [push, pull_request]
jobs:
build:
name: ${{ matrix.framework }}
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.pull_request.title, '[skip ci]') && !contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.ref_type, '[tag]')"
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
node_version: [18]
os: [ubuntu-latest]
framework:
- angular
- angular-auth0
- react
- react-ts
- react-auth0
- react-ts-auth0
- vue
- vue-ts
- vue-auth0
- vue-ts-auth0
- ionic
- ionic-auth0
- react-native
- react-native-auth0
- express
- express-auth0
env:
APP: ${{ matrix.framework }}
steps:
#----------------------------------------------------------------------
# Install all tools and check configuration
#----------------------------------------------------------------------
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
- name: Install latest Chrome
run: |
sudo apt update
sudo apt --only-upgrade install google-chrome-stable
google-chrome --version
- name: Install CLIs
run: npm i -g @angular-devkit/schematics-cli @angular/cli @vue/cli @ionic/cli
- run: npm install
- name: Create ${{ matrix.framework }} app and test
run: xvfb-run --server-args="-screen 0 1024x768x24" --auto-servernum ./test-app.sh $APP