-
Notifications
You must be signed in to change notification settings - Fork 35
42 lines (41 loc) · 1.07 KB
/
build.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
36
37
38
39
40
41
42
name: Build
on:
pull_request: {}
workflow_dispatch: {}
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
env:
CI: "true"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: "14"
- name: Build
run: ./deployment/build-s3-dist.sh dist-bucket solution-name latest
build-examples:
runs-on: ubuntu-latest
env:
CI: "true"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: "14"
- name: Build vue-ui
working-directory: tutorials/api-gateway/vue-ui
run: yarn && yarn build
- name: Build serverless-express-auth
working-directory: tutorials/api-gateway/serverless-express-auth
run: yarn && yarn build
- name: Build serverless-lambda-auth
working-directory: tutorials/api-gateway/serverless-lambda-auth
run: yarn && yarn build