Skip to content
Snippets Groups Projects
Commit 1bfcf7e8 authored by Xiao Gui's avatar Xiao Gui
Browse files

rerun gha actions

parent 948c2f4d
No related branches found
No related tags found
No related merge requests found
name: Backend tests
on: [ push ]
env:
NODE_ENV: test
jobs:
install_dep:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: cd into deploy, npm install
run: |
cd deploy
npm i
- name: test
run: |
cd deploy
npm run test
\ No newline at end of file
......@@ -3,9 +3,6 @@ name: "[e2e] prod-specs"
on:
workflow_dispatch:
inputs:
branch:
required: true
default: dev
url:
required: true
default: https://interactive-viewer-next.apps-dev.hbp.eu/
......@@ -40,7 +37,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.branch }}
ref: ${{ github.event.ref }}
- name: Install dep
run: |
......
name: Frontend Tests (Karma + Mocha + Chai)
on: [ push ]
jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm i
npm run lint
npm test
env:
NODE_ENV: test
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment