Create check.yml

This commit is contained in:
xixu-me committed 2024-10-11 21:02:32 +08:00
1 parent ab5d241e90
commit ba4f58bb7f
1 file changed
+27
+27
View File
@@ -0,0 +1,27 @@
name: Check
on:
push:
branches:
- hidden
workflow_dispatch:
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 script
run: node script.js