Skip to content

Bump @typescript-eslint/eslint-plugin from 5.62.0 to 8.18.0 #80

Bump @typescript-eslint/eslint-plugin from 5.62.0 to 8.18.0

Bump @typescript-eslint/eslint-plugin from 5.62.0 to 8.18.0 #80

Workflow file for this run

name: CI
on: [push]
jobs:
ci:
name: ${{ matrix.package }}
defaults:
run:
working-directory: 'packages/@randsum/${{ matrix.package }}'
strategy:
matrix:
package: [core, faces, dice, notation, tower, games]
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
changesInPackage:
- 'packages/@randsum/${{ matrix.package }}/**'
- name: Use Bun
if: steps.changes.outputs.changesInPackage == 'true'
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
# Run the build script to build sibling packages
- name: build core
if: steps.changes.outputs.changesInPackage == 'true'
working-directory: 'packages/@randsum/core'
run: bun install && bun run build
- name: build notation
if: steps.changes.outputs.changesInPackage == 'true'
working-directory: 'packages/@randsum/notation'
run: bun install && bun run build
- name: build dice
if: steps.changes.outputs.changesInPackage == 'true'
working-directory: 'packages/@randsum/dice'
run: bun install && bun run build
- name: build tower
if: steps.changes.outputs.changesInPackage == 'true'
working-directory: 'packages/@randsum/tower'
run: bun install && bun run build
- name: build faces
if: steps.changes.outputs.changesInPackage == 'true'
working-directory: 'packages/@randsum/faces'
run: bun install && bun run build
- name: build games
if: steps.changes.outputs.changesInPackage == 'true'
working-directory: 'packages/@randsum/games'
run: bun install && bun run build
- name: Type Check
if: steps.changes.outputs.changesInPackage == 'true'
run: bun ts:check
- name: Lint & Format
if: steps.changes.outputs.changesInPackage == 'true'
run: bun lint && bun format
- name: Test
if: steps.changes.outputs.changesInPackage == 'true'
run:
CI=true bun test