Skip to content

Game: Create a new quiz feature #8096

Game: Create a new quiz feature

Game: Create a new quiz feature #8096

Workflow file for this run

name: Run CI
on:
push:
branches:
- master
pull_request:
env:
TZ: Asia/Singapore
NODE_OPTIONS: --max_old_space_size=8192
GENERATE_SOURCEMAP: false
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
commands: [tsc, 'format:ci', eslint, build, test, test-coveralls]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies (apt)
run: |
sudo apt-get update && \
sudo apt-get install -y --no-install-recommends \
libxi-dev libgl1-mesa-dev
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run command
run: yarn run ${{ matrix.commands }}
- name: Coveralls - Upload test coverage report
if: matrix.commands == 'test-coveralls'
uses: coverallsapp/github-action@master
with:
path-to-lcov: lcov.info
github-token: ${{ secrets.GITHUB_TOKEN }}