diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml new file mode 100644 index 0000000..b663de9 --- /dev/null +++ b/.github/workflows/audit.yaml @@ -0,0 +1,23 @@ +name: Code Audit + +on: pull_request + +defaults: + run: + working-directory: exercise-1 + +jobs: + lint: + name: test all the things + runs-on: ubuntu-latest + steps: + - name: checkout repo + uses: actions/checkout@v2 + + - name: install dependencies + run: npm ci + + - name: lint code + run: npm run lint + +# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions diff --git a/exercise-1/audit.yaml b/exercise-1/audit.yaml deleted file mode 100644 index b652e03..0000000 --- a/exercise-1/audit.yaml +++ /dev/null @@ -1,6 +0,0 @@ -name: Code Audit - -on: push - -jobs: -# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions diff --git a/exercise-1/pages/index.js b/exercise-1/pages/index.js index 2eeb933..abb83d6 100644 --- a/exercise-1/pages/index.js +++ b/exercise-1/pages/index.js @@ -1,4 +1,3 @@ export default function funFunFunction() { - debugger; return

Oh hi there

}