Merge pull request #143 from Brandon-Kimberly/main #246
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: CWMetricStreamExporter - Go | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
PROJECT_DIR: ./sandbox/CWMetricStreamExporter | |
jobs: | |
Build: | |
defaults: | |
run: | |
working-directory: ${{ env.PROJECT_DIR }} | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.17 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- run: ls | |
- name: Get dependencies | |
run: cd lambda && go mod download | |
- name: Go Build | |
run: make go_build | |
- name: Go Test | |
run: make go_test | |
- name: NPM Build | |
run: make npm_build | |
- name: NPM Lint | |
run: make npm_lint | |
- name: NPM Test | |
run: make npm_test | |