Skip to content

Implement isGradingPublished (plus related features) #7405

Implement isGradingPublished (plus related features)

Implement isGradingPublished (plus related features) #7405

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 }}