mirror of
https://github.com/fjogeleit/http-request-action.git
synced 2026-02-04 08:35:53 +08:00
Some checks failed
CI / build (push) Has been cancelled
/ IT Test - Request Postman Echo GET (push) Has been cancelled
/ IT Test - Request Postman Echo POST (push) Has been cancelled
/ IT Test - Request Postman Echo POST with Unescaped Newline (push) Has been cancelled
/ IT Test - Request Postman Echo BasicAuth (push) Has been cancelled
/ IT Test - Request Postman Echo with 404 Response and ignore failure code (push) Has been cancelled
/ IT Test - Request Postman Echo POST Multipart (push) Has been cancelled
/ IT Test - Request Postman Echo POST and persist response (push) Has been cancelled
/ IT Test - Request Postman Echo POST Multipart without data (push) Has been cancelled
/ IT Test - Request Postman Echo POST single file (push) Has been cancelled
/ IT Test - Request Postman Echo POST URLEncoded string data (push) Has been cancelled
/ IT Test - Request Postman Echo POST URLEncoded json data (push) Has been cancelled
/ IT Test - Request Postman Echo DELETE (push) Has been cancelled
/ All IT Tests have to pass (push) Has been cancelled
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
- 'releases/*'
|
|
|
|
jobs:
|
|
build:
|
|
if: >
|
|
github.event_name == 'pull_request' &&
|
|
github.event.pull_request.user.login == 'dependabot[bot]'
|
|
permissions:
|
|
contents: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- id: ref
|
|
run: |
|
|
branch="${{ github.event.ref || github.event.pull_request.head.ref }}"
|
|
echo "branch=$branch" >> $GITHUB_OUTPUT
|
|
- name: checkout repo
|
|
uses: actions/checkout@v6.0.2
|
|
with:
|
|
ref: ${{ steps.ref.outputs.branch }}
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version-file: '.tool-versions'
|
|
- name: Install dependencies
|
|
run: |
|
|
npm ci
|
|
- name: Build Action
|
|
run: |
|
|
npm run build
|
|
- name: Update dist
|
|
run: |
|
|
git config user.name 'github-actions[bot]'
|
|
git config user.email 'github-actions[bot]@users.noreply.github.com'
|
|
git add ./dist
|
|
if ! git diff --quiet dist; then
|
|
git commit -m "Update dist"
|
|
git push origin HEAD:${{ steps.ref.outputs.branch }}
|
|
fi
|