mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-04-25 12:52:13 +00:00
24 lines
No EOL
629 B
YAML
24 lines
No EOL
629 B
YAML
name: "Pull Request Checks"
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- closed
|
|
- reopened
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Setup Node ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- run: |
|
|
git config --global user.name "Github" && git config --global user.email "noreply@github.com"
|
|
npm run build
|
|
git add dist && rm -rf build
|
|
git diff --staged --quiet || git commit -m "build: dist folder generated" |