1
0
mirror of https://github.com/Minionguyjpro/Inno-Setup-Action synced 2026-02-18 09:31:19 +01:00

Optimize for use with Dependabot

This commit is contained in:
Minionguyjpro
2024-01-02 16:54:00 +01:00
parent 94bc84251f
commit ca8088efe4
5 changed files with 6277 additions and 18 deletions

6
.github/auto-merge.yml vendored Normal file
View File

@@ -0,0 +1,6 @@
minApprovals:
NONE: 0
requiredLabels:
- dependencies
updateBranch: true
mergeMethod: rebase

View File

@@ -1,9 +1,10 @@
version: 2
updates:
# Enable version updates for npm
- package-ecosystem: 'npm'
# Look for `package.json` and `lock` files in the `root` directory
directory: '/'
# Check the npm registry for updates every day (weekdays)
- package-ecosystem: npm
directory: "/"
schedule:
interval: 'daily'
interval: daily
commit-message:
prefix: fix
prefix-development: chore
include: scope

View File

@@ -5,20 +5,31 @@ on:
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:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- name: Read package-lock.json
run: |
npm ci
cat package-lock.json
- name: Test code with ESLint
run: npx eslint "./dist/**"