feat: Build and integ test scripts for pipeline

This commit is contained in:
Clare Liguori committed 2020-01-30 16:16:17 -05:00
1 parent 8cff48fde9
commit 52bc82a29b
4 files changed
+81

No files matched your search

+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:
- '**/*'