Create validate-commit.yml

This commit is contained in:
xixu-me authored and GitHub committed 2024-10-11 20:51:01 +08:00
1 parent f347467a85
commit 1e256e10b0
1 file changed
+26
+26
View File
@@ -0,0 +1,26 @@
name: Validate Commit
on:
push:
branches:
- hidden
jobs:
validate:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Run validation script
run: node script.js