Develop ts #284
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 Server | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- "server/**" | |
pull_request: | |
branches: | |
- master | |
- develop-ts | |
paths: | |
- "server/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [19.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install -g yarn | |
- name: yarn install, lint and build | |
run: | | |
cd ./server | |
yarn install --immutable --immutable-cache | |
yarn lint:ts | |
yarn test | |
yarn build |