Implement isGradingPublished (plus related features) #7405
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |