Skip to content

fix: Fix a crash if a client does not have a walk animation #8

fix: Fix a crash if a client does not have a walk animation

fix: Fix a crash if a client does not have a walk animation #8

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get Node version
id: node-version
run: |
NODE_VERSION=$(jq -r '.engines.node' package.json | grep -oE '[0-9]+' | head -1)
echo "value=$NODE_VERSION" >> "$GITHUB_OUTPUT"
- name: Enable Corepack
run: corepack enable
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ steps.node-version.outputs.value }}
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Run lint
run: yarn check
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get Node version
id: node-version
run: |
NODE_VERSION=$(jq -r '.engines.node' package.json | grep -oE '[0-9]+' | head -1)
echo "value=$NODE_VERSION" >> "$GITHUB_OUTPUT"
- name: Enable Corepack
run: corepack enable
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ steps.node-version.outputs.value }}
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Run tests
run: yarn test