Update database-script-runner.ts #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.THUNDRA_GITHUB_ACCESS_TOKEN }} | |
- name: Configure Git User | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "GitHub Action" | |
- name: Use Node.js 14.x | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "14.x" | |
registry-url: https://registry.npmjs.org | |
- name: NPM Install for Lambda | |
run: npm install -f ./lambdas --prefix ./lambdas | |
- name: NPM Build for Lambda | |
run: npm run --prefix ./lambdas build:tsc | |
- name: NPM Test for Lambda | |
run: npm run --prefix ./lambdas test | |
- name: NPM Install | |
run: npm install | |
- name: NPM Build | |
run: npm run build |