diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-03-08 14:29:01 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-03-11 16:57:15 +0300 |
commit | 71f44c0711ad72ea3bdd3ad805d7d828efc0fe48 (patch) | |
tree | 4dc9a1b804fc33cec0524dd44ce3341f38148a96 /.github | |
parent | 2eb11fea6db7284a18eaab6ca90c3038b729bfa3 (diff) |
Use viewer in testing mode
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cypress.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 265a9f39c..72ede214b 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -41,6 +41,17 @@ jobs: ref: ${{ matrix.server-versions }} path: apps/viewer + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + + - name: npm install, build viewer in testing mode + working-directory: apps/viewer + run: | + npm ci + TESTING=true npm run build --if-present + - name: Checkout ${{ env.APP_NAME }} uses: actions/checkout@v2 with: |