semantic-version/.github/workflows/test.yml
2025-09-04 11:58:44 -04:00

36 lines
731 B
YAML

name: "Build"
on:
pull_request:
push:
branches:
- master
- debug
- "feature/*"
jobs:
test:
name: "Test and Run"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: NPM Install
run: npm ci
- name: Test
run: npm test
- name: Package
run: npm run package
- name: Run Action
uses: ./
id: run
with:
debug: true
- name: Print Diagnostic Output
run: echo $DEBUG_OUTPUT
env:
DEBUG_OUTPUT: ${{ steps.run.outputs.debug_output }}