Bump translators/zotero from cfc69de to 3b641a6
#161
This file contains hidden or 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: Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| merge_group: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| - name: Run import_and_patch_translators | |
| run: python3 scripts/import_and_patch_translators.py | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Verify linkedom bundle consistency | |
| run: | | |
| npm run bundle-linkedom | |
| if [ -n "$(git status --porcelain sources/vendor/linkedom.js)" ]; then | |
| echo "Error: sources/vendor/linkedom.js is out of date or has manual changes." | |
| echo "Please run 'npm run bundle-linkedom' and commit the changes." | |
| git diff sources/vendor/linkedom.js | |
| exit 1 | |
| fi | |
| - name: Run tests | |
| run: npm test |