mirror of
https://github.com/Minionguyjpro/Inno-Setup-Action
synced 2026-02-18 09:31:19 +01:00
26 lines
570 B
YAML
26 lines
570 B
YAML
name: Run a test
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Test code with ESLint
|
|
run: npx eslint "./dist/**"
|
|
|
|
- name: Inno Setup Action (push)
|
|
uses: Minionguyjpro/Inno-Setup-Action@main
|
|
with:
|
|
path: ${{ github.workspace }}\scripts\test.iss
|
|
|
|
- name: Inno Setup Action (pull request)
|
|
uses: ./
|
|
with:
|
|
path: ${ github.workspace }}\scripts\test.iss
|
|
if: ${{ github.event_name == 'pull_request' }}
|