Skip to content

OpenAPI: Regenerates API Bindings #20

OpenAPI: Regenerates API Bindings

OpenAPI: Regenerates API Bindings #20

Workflow file for this run

name: Mocha Tests
env:
API_HOST: ${{ vars.API_HOST }}
API_KEY: ${{ secrets.API_KEY }}
on:
push:
branches: [ master, openapi-bindings ]
pull_request:
branches: [ master, openapi-bindings ]
jobs:
build:
runs-on: gcp-runner
steps:
- name: Checkout
uses: actions/checkout@v2
- name: 🔨 Setup Node.js
uses: actions/setup-node@v2
with:
always-auth: true
node-version: '20.10.0'
registry-url: https://npm.pkg.github.com
scope: '@lilt'
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build --if-present
- name: Run Mocha tests
run: npm test