From ce691fb565c7ae1a8ab1a68e1dd5befd3a55bf7b Mon Sep 17 00:00:00 2001 From: Jacques Nadeau Date: Tue, 21 Feb 2023 12:40:21 -1000 Subject: [PATCH] Add Javascript github action build/validation (#3) --- .github/workflows/go.yaml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 01b85ba..5baa3d2 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -7,8 +7,28 @@ on: branches: [ "main" ] jobs: + js: + name: Build & Test JavaScript + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set Node.js 18.x + uses: actions/setup-node@v3 + with: + node-version: 18.x + cache: yarn + cache-dependency-path: js/yarn.lock + - run: yarn install --frozen-lockfile + working-directory: ./js + - name: Test JavaScript + run: yarn test + working-directory: ./js + - name: Webpack Build + run: yarn build + working-directory: ./js - build: + go: + name: Build & Test Go. Create CLI Artifacts. runs-on: ubuntu-latest steps: - uses: actions/checkout@v3