Skip to content

Mock TwitchBot for local builds #46

Mock TwitchBot for local builds

Mock TwitchBot for local builds #46

Workflow file for this run

name: ts-eslint-ci
on:
pull_request:
paths:
- "src/**"
- "scripts/node/**"
- ".github/workflows/ts-ci.yml"
- ".github/actions/**"
- "yarn.lock"
permissions:
id-token: write # Needed for gcloud auth.
contents: read
jobs:
ts-eslint-ci:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: git lfs pull
uses: ./.github/actions/cached-lfs-pull
- name: yarn install
uses: ./.github/actions/cached-yarn-install
- name: bazel setup
uses: ./.github/actions/bazel
- name: Create/activate virtual environment.
run: python3 -m venv .venv && echo "$(pwd)/.venv/bin" >> $GITHUB_PATH
- run: ./b ts-deps build
- name: Restore eslint cache.
uses: ./.github/actions/cached-eslint
- run: ./b lint ts --cache-strategy content