Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from education/saturn226/autograding-reporter-c…
Browse files Browse the repository at this point in the history
…onfigurations

Saturn226/autograding reporter configurations
  • Loading branch information
ashishkeshan authored Nov 28, 2023
2 parents dcca8de + 1673216 commit 9135a45
Show file tree
Hide file tree
Showing 9,240 changed files with 9,060 additions and 1,074,446 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
44 changes: 31 additions & 13 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,32 @@
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true,
"jest": true
},
"extends": "standard",
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
}
}
"env": {
"browser": true,
"commonjs": true,
"es2021": true,
"jest": true
},
"plugins": ["prettier"],
"extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"standard",
"prettier"
],
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": false,
"printWidth": 120,
"tabWidth": 2,
"semi": false
}
],
"camelcase": "off"
}
}
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release
on:
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Release
shell: bash
run: |
set -e
echo "Checkout the release branch"
git checkout releases/v1
echo "run build script"
npm run build
echo "Add the dist"
git add .
echo "Commit"
git commit -m "v1"
echo "Force push to overwrite any previous commits for this branch"
git push -f origin releases/v1
echo "Remove previously pushed tags (v1 will be unusable momentarily until you re-push)"
git push origin :refs/tags/v1
echo "Re-apply the tag"
git tag -fa v1 -m "v1"
echo "Push everything"
git push origin v1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
2 changes: 1 addition & 1 deletion __tests__/main.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const cp = require('child_process')
const path = require('path')

const node = process.execPath
const ip = path.join(__dirname, '..', 'main.js')
const ip = path.join(__dirname, '..','dist', 'main.js')
const options = {
env: process.env,
encoding: 'utf-8'
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "GitHub Classroom Autograding Results handler"
description: "Integrate your CS class wit GitHub using GitHub Classroom"
description: "Integrate your CS class with GitHub using GitHub Classroom"
inputs:
runners:
description: 'Comma-separated list of step ids'
required: true

runs:
using: "node20"
main: "src/main.js"
main: "dist/main.js"
90 changes: 90 additions & 0 deletions dist/main.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion node_modules/.bin/acorn

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/browserslist

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/create-jest

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/eslint

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/esparse

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/esvalidate

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/import-local-fixture

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/jest

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/js-yaml

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/jsesc

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/json5

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/node-which

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/parser

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/resolve

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/rimraf

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/semver

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/update-browserslist-db

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/uuid

This file was deleted.

Loading

0 comments on commit 9135a45

Please sign in to comment.