mirror of
https://github.com/logos-messaging/waku-tests.git
synced 2026-01-06 00:03:12 +00:00
Add GitHub action to trigger flow
This commit is contained in:
parent
2bad5f117e
commit
c6442b1d86
27
.github/workflows/run.yml
vendored
Normal file
27
.github/workflows/run.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: Run suite
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
script:
|
||||||
|
description: 'Valid values are: predefined-prod, predefined-test, native-wss-prod'
|
||||||
|
required: true
|
||||||
|
default: 'native-wss-prod'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2.3.3
|
||||||
|
|
||||||
|
- name: Install NodeJS
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: 16
|
||||||
|
|
||||||
|
- name: npm install
|
||||||
|
uses: bahmutov/npm-install@v1
|
||||||
|
|
||||||
|
- name: Run
|
||||||
|
run: npm run ${{ github.event.inputs.script }}
|
||||||
@ -8,7 +8,7 @@
|
|||||||
"fix": "run-s lint format",
|
"fix": "run-s lint format",
|
||||||
"predefined-prod": "mocha predefinedProdFleet.js --exit",
|
"predefined-prod": "mocha predefinedProdFleet.js --exit",
|
||||||
"predefined-test": "mocha predefinedTestFleet.js --exit ",
|
"predefined-test": "mocha predefinedTestFleet.js --exit ",
|
||||||
"native-wss": "mocha nativeWssProdFleet.js --exit"
|
"native-wss-prod": "mocha nativeWssProdFleet.js --exit"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"env": {
|
"env": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user