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

33 lines
758 B
YAML
Raw Normal View History

2022-04-20 04:43:07 +00:00
name: Run suite
on:
workflow_dispatch:
inputs:
script:
description: "Valid values are: predefined-prod, predefined-test, native-wss-prod, native-wss-test, waku-connect"
2022-04-20 04:43:07 +00:00
required: true
2022-04-20 05:38:36 +00:00
default: "native-wss-prod"
2022-04-20 04:43:07 +00:00
jobs:
run:
runs-on: ubuntu-latest
steps:
2022-04-22 05:24:36 +00:00
- name: Print input
run: echo "::notice title=${{ github.event.inputs.script }}::''"
2022-04-20 04:43:07 +00:00
- 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
2022-04-20 04:43:07 +00:00
- name: Run
run: npm run ${{ github.event.inputs.script }}