Skip to content

feat(test): improve the go tests #689

feat(test): improve the go tests

feat(test): improve the go tests #689

name: Test JavaScript Examples
on:
pull_request:
branches:
- main
jobs:
test:
name: Test JavaScript Examples
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./examples/developer-hub-javascript
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Format with prettier
run: npm run format:diff
- name: Lint with ESLint
run: npm run lint
- name: Test with jest
run: npm run test