-
Notifications
You must be signed in to change notification settings - Fork 9
41 lines (37 loc) · 1.14 KB
/
build-and-test.yaml
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
name: Test
on: [push]
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
env:
CI: true
# We want to ensure there are no issues the demo builds as well
# - run: npx lerna run docs
# - uses: actions/upload-artifact@v2
# with:
# name: Cypress Test Recording
# path: packages/style-kit/cypress/videos/
# - uses: actions/upload-artifact@v2
# if: failure()
# with:
# name: Cypress Test Screenshots
# path: packages/style-kit/cypress/screenshots/
# - uses: actions/upload-artifact@v2
# if: failure()
# with:
# name: Cypress Failure Diffs
# path: packages/style-kit/cypress/snapshots/
#
# Ignore @meeco/cli as the required SDK version does not exist at this point
- run: npm run build -- --ignore @meeco/cli