Merge pull request #488 from MrBrax/develop-ts #272
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: Check Client | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- "client-vue/**" | |
pull_request: | |
branches: | |
- master | |
- develop-ts | |
paths: | |
- "client-vue/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [19.x] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "true" | |
- name: Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install -g yarn | |
- name: yarn install, lint and build | |
run: | | |
cd ./twitch-vod-chat | |
yarn install --immutable | |
yarn buildlib | |
cd ../client-vue | |
yarn install --immutable --immutable-cache | |
yarn test | |
yarn build |