ci: verify pull requests
CI / Syntax and tests (pull_request) Successful in 7s
CI / Syntax and tests (pull_request) Successful in 7s
This commit is contained in:
1 parent
079764d93d
commit
aea5738faa
1 file changed
+26
@@ -0,0 +1,26 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
quality:
|
||||
name: Syntax and tests
|
||||
runs-on: toolctrl-ci
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "22"
|
||||
|
||||
- name: Verify
|
||||
run: |
|
||||
npm run check
|
||||
npm test
|
||||
git diff --check
|
||||
Reference in new issue
Block a user