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

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/**"