payload-validation #33

Merged
y merged 6 commits from payload-validation into staging 2025-04-03 08:01:56 +00:00
2 changed files with 38 additions and 1 deletions
Showing only changes of commit 11776c4f5c - Show all commits
.git-hooks
.gitea/workflows

@ -13,7 +13,7 @@ if [[ "$BRANCH" =~ $REGEX ]]; then
fi
# Lint staged files
npm run build
npm run lint-staged
# Run license-checker
npm run license-checker

@ -0,0 +1,37 @@
name: Open PR on Staging
on:
pull_request:
types: [opened, edited, synchronize]
branches:
- staging
jobs:
audit_and_check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 20
- name: Audit
run: npm audit --omit=dev
- name: Install Dependencies
run: npm ci
- name: License check
run: npm run license-checker
- name: Lint check
run: npm run lint
- name: Formatter check
run: npm run formatter:check
- name: Create Build
run: npm run build