Enable actions for highlights in the note editor. Fix #570 #211
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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 'lts/iron' | |
- run: npm ci | |
- run: npm test | |
env: | |
NODE_OPTIONS: --openssl-legacy-provider #https://github.com/zotero/web-library/issues/487 | |
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }} | |
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright/ | |
retention-days: 30 |