Update LICENSE for year 2023 #678
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: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: "0" # necessary for `npm run print-version` | |
- name: Spin up CUBE | |
id: cube | |
uses: FNNDSC/miniChRIS-docker@master | |
with: | |
plugins: | | |
pl-mri10yr06mo01da_normal | |
pl-bulk-rename | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
- name: Cypress Tests | |
uses: cypress-io/github-action@v4 | |
with: | |
#build: npm run build | |
#start: env PORT=8088 npm start | |
# MUST use dev mode because tests rely on (unmangled) element IDs | |
start: npm run dev | |
wait-on: "http://localhost:3000" | |
wait-on-timeout: 600 |