diff --git a/.github/workflows/autograding.yml b/.github/workflows/autograding.yml new file mode 100644 index 00000000..b1e0872b --- /dev/null +++ b/.github/workflows/autograding.yml @@ -0,0 +1,26 @@ +name: autograding + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + cache: 'npm' + + - name: Install package dependencies + run: npm install + + - name: Create test build + run: npm run build --if-present + + - name: Execute test cases + run: npm test