refactor: image loading handlers #15619
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: Coverage report | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
run_tests: | |
name: Run tests | |
runs-on: ubuntu-latest | |
env: | |
PANOPTES_ENV: test | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/iron' | |
cache: 'yarn' | |
- run: yarn install --production=false --frozen-lockfile --ignore-scripts | |
- run: yarn workspace @zooniverse/react-components build:cjs | |
- run: yarn workspace @zooniverse/user build:cjs | |
- run: yarn workspace @zooniverse/subject-viewers build:cjs | |
- run: yarn workspace @zooniverse/classifier build:cjs | |
- run: yarn test:ci | |
- run: yarn coverage-lcov | |
- name: Coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |