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

Update test.yml

This commit is contained in:
Minionguyjpro
2024-09-30 16:21:09 +02:00
committed by GitHub
parent 9c0f5b297d
commit 155dff8427

View File

@@ -23,19 +23,12 @@ jobs:
with:
node-version-file: .node-version
cache: npm
- run: |
- name: Test JavaScript code and compile
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 }}
- name: Setup GitHub Actions Bot
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
@@ -49,16 +42,6 @@ jobs:
commit_message: "Update CJS script"
if: ${{ github.event_name != 'pull_request' }}
- name: Commit and Push Changes (PR)
uses: devops-infra/action-commit-push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
commit_prefix: "[AUTO]"
commit_message: "Update CJS script"
target_branch: ${{ github.ref }}
if: ${{ github.event_name == 'pull_request' }}
test:
needs: build
runs-on: windows-latest