feat: Build and integ test scripts for pipeline

This commit is contained in:
Clare Liguori
2019-12-16 16:12:19 -08:00
parent 8cff48fde9
commit 52bc82a29b
4 changed files with 81 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
version: 0.2
phases:
install:
runtime-versions:
nodejs: 10
build:
commands:
# Validate that the dist/ folder has the latest code packaged.
# If there are unpackaged changes, this build will fail.
# The GitHub Actions 'package' workflow will eventually run
# and will sync the dist folder, which will re-trigger this build.
- npm ci
- npm run package
- git diff --exit-code dist/index.js
artifacts:
files:
- '**/*'