Update validate-commit.yml

This commit is contained in:
xixu-me authored and GitHub committed 2024-10-11 20:45:03 +08:00
1 parent 1aafaa06cc
commit ac6eb7fc37
1 file changed
+14 -14
+14 -14
View File
@@ -9,21 +9,21 @@ jobs:
validate:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- name: Checkout repository
uses: actions/checkout@v3
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: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Install dependencies
run: npm ci
- name: Run validation script
run: node script.js
- name: Run validation script
run: node script.js