fix bug where using an ID for selecting the dropzone element would ma… #61
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: validate | |
on: [push, pull_request] | |
jobs: | |
run-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '18', '20' ] | |
name: Node ${{ matrix.node }} test | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'npm' | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install dependencies | |
run: yarn install | |
- name: Build | |
run: yarn run build | |
- name: Run test | |
run: yarn run test | |
- uses: cypress-io/github-action@v6 | |
with: | |
install-command : yarn install --immutable --immutable-cache | |
# fix issue with "Cannot find module 'cypress'" | |
# https://github.com/cypress-io/github-action/issues/430#issuecomment-949936528 | |
command: yarn test:e2e | |
start: yarn start-test-server | |
wait-on: "http://localhost:8888" | |
wait-on-timeout: 5 |