1
0
mirror of https://github.com/Minionguyjpro/Inno-Setup-Action.git synced 2026-04-13 02:11:24 +02:00
Files
inno-setup/.github/workflows/test.yml
dependabot[bot] 171faa66d8 fix(deps): bump actions/setup-node from 4 to 6
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-02 15:04:02 +00:00

58 lines
1.3 KiB
YAML

name: Run a test
on:
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Make sure the release step uses its own credentials.
persist-credentials: true
fetch-depth: 0
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: npm
- name: Test JavaScript code and compile
run: |
npm ci
npm run all
- name: Setup GitHub Actions Bot
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Commit and Push Changes (upstream)
uses: devops-infra/action-commit-push@master
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
commit_prefix: "[AUTO]"
commit_message: "Update CJS script"
if: ${{ github.event_name != 'pull_request' }}
test:
needs: build
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Inno Setup Action
uses: ./
with:
path: scripts/test.iss
options: /O+