Skip to content

feat: add shotsHit to Duels #5696

feat: add shotsHit to Duels

feat: add shotsHit to Duels #5696

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions:
checks: write
contents: write
jobs:
ci:
name: CI
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TURBO_SCM_BASE: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
TURBO_TELEMETRY_DISABLED: 1
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
filter: blob:none
- name: Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
- name: Install node.js v24
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: 24.7.0
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Turbo cache
id: turbo-cache
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
with:
path: .turbo
key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
restore-keys: |
turbo-${{ github.job }}-${{ github.ref_name }}-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint:ci --affected
- name: Typecheck
run: pnpm typecheck --affected
- name: Build
run: pnpm build
- name: Test
run: pnpm test:coverage --changed=$TURBO_SCM_BASE