Skip to content

Commit

Permalink
Add Javascript github action build/validation (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacques-n authored Feb 21, 2023
1 parent 0b42731 commit ce691fb
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce691fb

Please sign in to comment.