diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..274404c --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,12 @@ +# xuchao: 自动化测试——push 即跑,守护题型校验/答案判定/编辑器组件 +name: test +on: + push: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: npm ci + - run: npm run test \ No newline at end of file