1
0
mirror of https://github.com/Minionguyjpro/Inno-Setup-Action synced 2026-02-18 09:31:19 +01:00
Files
inno-setup/.github/workflows/test.yml
Minionguyjpro 1011974704 Update test.yml
2023-07-08 14:37:28 +02:00

32 lines
681 B
YAML

name: Run a test
on:
push:
pull_request:
jobs:
test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup NPM
uses: bahmutov/npm-install@v1
with:
node-version: 16
- 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' }}