FileView: added file preview for images/videos/pdf/text files #379
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: Cypress & Jest CI | |
on: [push] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [14.x] | |
os: [ubuntu-latest] | |
experimental: [false] | |
# include: | |
# - os: windows-latest | |
# experimental: true | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.experimental }} | |
defaults: | |
run: | |
working-directory: ./e2e | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install node_modules | |
working-directory: ./ | |
run: npm ci | |
- name: Install e2e node_modules | |
run: npm ci | |
- name: Build E2E version | |
run: npm run build | |
- name: Run & wait for server | |
run: npm run server & npx wait-on http://localhost:8080 | |
- name: Cypress tests | |
run: npm run cypress:run --config video=false | |
- name: Integration tests | |
working-directory: ./ | |
run: npm test |