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