-
-
Notifications
You must be signed in to change notification settings - Fork 43
36 lines (36 loc) · 998 Bytes
/
testing.yml
File metadata and controls
36 lines (36 loc) · 998 Bytes
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
name: Testing
on:
pull_request:
branches:
- master
- alpha
jobs:
testing:
runs-on: ubuntu-latest
env:
BS_ACCESS_KEY: ${{ secrets.BS_ACCESS_KEY }}
BS_USERNAME: ${{ secrets.BS_USERNAME }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
always-auth: true
node-version: 14
- name: Installing Dependencies
run: yarn install --frozen-lockfile
- name: Checking File Size
run: yarn check:size
- name: Checking Linting Rules
run: yarn check:lint
- name: Checking Types
run: yarn check:types
- name: Running Unit Tests
run: yarn test:unit
- name: Testing SSR
run: yarn test:create:ssr
- name: Testing in Modern Browsers (BrowserStack)
run: yarn test:bs:modern
- name: Testing in Legacy Browsers (BrowserStack)
run: yarn test:bs:legacy