1
0
mirror of https://github.com/Minionguyjpro/Inno-Setup-Action synced 2026-02-18 17:41:18 +01:00
Files
inno-setup/.github/workflows/test.yml
Minionguyjpro 97f427c675 Update test.yml
2023-12-10 13:53:39 +01:00

33 lines
713 B
YAML

name: Run a test
on:
push:
pull_request:
jobs:
test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Test code with ESLint
run: eslint "./dist/**"
- name: Inno Setup Action (push)
uses: Minionguyjpro/Inno-Setup-Action@main
with:
path: scripts\test.iss
options: /O+
- name: Inno Setup Action (pull request)
uses: ./
with:
path: ${ github.workspace }}\scripts\test.iss
if: ${{ github.event_name == 'pull_request' }}