-
-
Notifications
You must be signed in to change notification settings - Fork 84
42 lines (33 loc) · 849 Bytes
/
build-and-test.yml
File metadata and controls
42 lines (33 loc) · 849 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
37
38
39
40
41
42
name: Test
on:
pull_request: {}
workflow_dispatch:
jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Source Code
uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'yarn'
- name: Install Dependencies
run: yarn install --immutable
- name: Check Formatting
run: yarn format --check
- name: Build mst-gql
run: yarn build
- name: Test mst-gql
run: yarn test:mst-gql
- name: Test Example 2 (Scaffolding)
run: yarn test:example-2
- name: Test Example 6 (Hasura)
run: yarn test:example-6
# - name: Test e2e vite app
# run: yarn test:vite