Archived
15 lines
523 B
YAML
15 lines
523 B
YAML
name: Shared Node verification
|
|
description: Run the QQQ orb installation, lint, typecheck and test helpers
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- shell: bash
|
|
env:
|
|
HELPER_ROOT: ${{ github.action_path }}/../vendor/qqq-orb
|
|
run: |
|
|
set -eu
|
|
node -e 'const p=require("./package.json"); if(!p.scripts?.test) throw Error("A real test script is required")'
|
|
bash "$HELPER_ROOT/node_app_install.sh"
|
|
bash "$HELPER_ROOT/node_app_test.sh"
|
|
bash "$HELPER_ROOT/node_app_build.sh"
|