feat(match-service): basic service with locking #40
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
install: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn | |
- name: Cache install | |
uses: actions/cache@v2 | |
with: | |
path: ./node_modules/ | |
key: ${{ github.sha }}-install | |
code_style: | |
runs-on: ubuntu-latest | |
needs: install | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Retrive install cache | |
uses: actions/cache@v2 | |
with: | |
path: ./node_modules/ | |
key: ${{ github.sha }}-install | |
- name: prettier | |
run: yarn prettier:check |