-
Notifications
You must be signed in to change notification settings - Fork 14
36 lines (36 loc) · 1.06 KB
/
messagefanout-pull.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
name: messagefanout-pull
on:
pull_request:
paths:
- messagefanout/**
jobs:
build-messagefanout:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: messagefanout
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: messagefanout
- name: Test
run: wing test
working-directory: messagefanout
- name: Generate docs
run: wing docs
working-directory: messagefanout
- name: Pack
run: wing pack
working-directory: messagefanout
- name: Check for missing changes
run: git diff --exit-code || (echo 'Please run "npm install", "wing test", and
"wing gen-docs" from ./messagefanout, and commit any changes to your
branch.' && exit 1)