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 03fc37dd27 Update test.yml
2024-01-02 17:14:33 +01:00

38 lines
782 B
YAML

name: Run a test
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Make sure the release step uses its own credentials.
persist-credentials: false
- run: |
npm ci
npm run all
- name: Run semantic-release
# This process will run `ncc`, commit files, push a Git commit, and release to GitHub and npmjs.
run: |
npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.PAT_TO_PUSH }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Inno Setup Action
uses: ./
with:
path: scripts/test.iss
options: /O+