Somebuffs (model 37 - arena closer ) #2979
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: | |
pull_request: | |
jobs: | |
client: | |
name: Client | |
runs-on: ubuntu-latest | |
concurrency: ci-client-${{ github.ref }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
cache-dependency-path: '**/pnpm-lock.yaml' | |
- name: Install Packages | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
working-directory: ./client | |
run: pnpm build | |
server: | |
name: Server | |
runs-on: ubuntu-latest | |
concurrency: ci-server-${{ github.ref }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
cache-dependency-path: '**/pnpm-lock.yaml' | |
- name: Install Packages | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
working-directory: ./server | |
run: pnpm build | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
concurrency: ci-tests-${{ github.ref }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
cache-dependency-path: '**/pnpm-lock.yaml' | |
- name: Install Packages | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
working-directory: ./tests | |
run: pnpm build | |
- name: Run Tests | |
working-directory: ./tests | |
run: pnpm validateDefinitions | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
concurrency: ci-lint-${{ github.ref }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
cache-dependency-path: '**/pnpm-lock.yaml' | |
- name: Install Packages | |
working-directory: ./tests | |
run: pnpm install --frozen-lockfile | |
- name: Lint | |
run: pnpm test |