-
-
Notifications
You must be signed in to change notification settings - Fork 55
35 lines (32 loc) · 1013 Bytes
/
ci-cd.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
name: CI-CD Core Manifest
on:
pull_request:
branches: [master, develop]
push:
branches: [master, develop]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Install dependencies
run: npm ci
working-directory: ./packages/core/manifest
# Enure that we are using the latest version of the types package (even if it is not published yet).
- name: Link local types
run: npm run link-local-types
working-directory: ./packages/core/manifest
- name: Build App
run: npm run build
working-directory: ./packages/core/manifest
- name: Run tests
run: npm run test:ci
working-directory: ./packages/core/manifest
- name: Run End-to-End tests
run: npm run test:e2e:ci
working-directory: ./packages/core/manifest