waku-tests/.github/workflows/run.yml

33 lines
758 B
YAML

name: Run suite
on:
workflow_dispatch:
inputs:
script:
description: "Valid values are: predefined-prod, predefined-test, native-wss-prod, native-wss-test, waku-connect"
required: true
default: "native-wss-prod"
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Print input
run: echo "::notice title=${{ github.event.inputs.script }}::''"
- 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
with:
install-command: yarn
- name: Run
run: npm run ${{ github.event.inputs.script }}