Files
shaka-player/.github/workflows/test_update_issues.yaml
T
Joey Parrish d1f00b897c ci: Add tests for new update-issues tool (#3900)
This ports over internal tests suggested in #3889.
2022-01-25 10:17:47 -08:00

29 lines
681 B
YAML

name: Test Update Issues Tool
on:
pull_request: # Trigger for pull requests.
types: [opened, synchronize, reopened]
paths:
.github/workflows/tools/update-issues/**
workflow_dispatch: # Allows for manual triggering.
inputs:
ref:
description: "The ref to build and test."
required: False
jobs:
test:
name: Test Update Issues Tool
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.ref || github.ref }}
- name: Test
run: |
cd .github/workflows/tools/update-issues
npm install
npm test