Skip to content

Merge pull request #51 from voicevox-client/dependabot/npm_and_yarn/t… #100

Merge pull request #51 from voicevox-client/dependabot/npm_and_yarn/t…

Merge pull request #51 from voicevox-client/dependabot/npm_and_yarn/t… #100

Workflow file for this run

name: Test voicevox-client
on:
push:
branches:
- main
pull_request:
jobs:
tests:
name: Test voicevox-client
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install depend
run: yarn install --frozen-lockfile --save-dev
- name: Run voicevox-engine
run: |
docker pull voicevox/voicevox_engine:cpu-ubuntu20.04-latest
docker run -d --rm -p '0.0.0.0:50021:50021' voicevox/voicevox_engine:cpu-ubuntu20.04-latest
sleep 20
- name: Build library
run: |
yarn build
yarn install --frozen-lockfile --save-dev
- name: Run test
run: yarn test