forked from pattern-lab/patternlab-node
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 912 Bytes
/
continuous-integration.yml
File metadata and controls
28 lines (24 loc) · 912 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
name: Continuous Integration
on: [push, pull_request]
jobs:
build:
name: Build & Test
runs-on: ubuntu-latest
steps:
- name: Check out the source code
uses: actions/checkout@v3
- name: Set up NodeJS
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Setup the project
run: |
yarn run setup
npx lerna add @pattern-lab/engine-mustache --scope=@pattern-lab/core
npx lerna add @pattern-lab/engine-handlebars --scope=@pattern-lab/core
npx lerna add @pattern-lab/engine-underscore --scope=@pattern-lab/core
npx lerna add @pattern-lab/engine-liquid --scope=@pattern-lab/core
npx lerna add @pattern-lab/engine-twig --scope=@pattern-lab/core
npx lerna add @pattern-lab/engine-react --scope=@pattern-lab/core
- name: Run Unit Tests
run: yarn run test