Merge pull request #152 from neophob/dependabot/npm_and_yarn/client/e… #469
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: WPC-Emu CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Build WPC-Emu Library | |
run: | | |
npm ci | |
time npm run test | |
- name: Run WPC-Emu Integration tests | |
run: | | |
npm run test:integration | |
- name: Build WPC-Emu Client | |
run: | | |
cd client | |
npm ci | |
npm run test | |
- name: Build Gamelist | |
run: | | |
cd build/gamelist | |
npm ci | |
time npm run start | |
cat ../../GAMES.md | |
- name: Minimal Client example | |
run: | | |
cd assets/client-example | |
npm i | |
time npm run build:ci | |
- name: Build WPC-Emu Typescript definitions | |
run: | | |
cd types | |
npm ci | |
npm run lint | |
npm run test | |
env: | |
CI: true |