Change user and content ids to UUIDs (#2478) #19
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: Client CI | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
jobs: | |
build-client: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Npm clean install | |
run: npm ci | |
working-directory: ./client | |
- name: Build | |
run: npm run build | |
working-directory: ./client | |
lint-client: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Npm clean install | |
run: npm ci | |
working-directory: ./client | |
- name: Lint | |
run: npx eslint | |
working-directory: ./client | |
prettier-client: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Npm clean install | |
run: npm ci | |
working-directory: ./client | |
- name: Prettier | |
run: npx prettier . --check | |
working-directory: ./client |