mirror of
https://github.com/Minionguyjpro/Inno-Setup-Action.git
synced 2026-04-13 10:21:23 +02:00
Update test.yml
This commit is contained in:
21
.github/workflows/test.yml
vendored
21
.github/workflows/test.yml
vendored
@@ -24,18 +24,11 @@ jobs:
|
|||||||
node-version-file: .node-version
|
node-version-file: .node-version
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
- run: |
|
- name: Test JavaScript code and compile
|
||||||
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npm run all
|
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
|
- name: Setup GitHub Actions Bot
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
@@ -49,16 +42,6 @@ jobs:
|
|||||||
commit_message: "Update CJS script"
|
commit_message: "Update CJS script"
|
||||||
if: ${{ github.event_name != 'pull_request' }}
|
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:
|
test:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user