diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml new file mode 100644 index 0000000..45a7d08 --- /dev/null +++ b/.github/workflows/audit.yaml @@ -0,0 +1,16 @@ +name: Code Audit + +on: push + +jobs: + lint: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: npm ci + run: npm ci + working-directory: ./exercise-1 + - name: lint + run: npm run lint + working-directory: ./exercise-1 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..89eeeed --- /dev/null +++ b/package-lock.json @@ -0,0 +1,12 @@ +{ + "name": "code-class-ci", + "version": "1.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "version": "1.0.0", + "license": "ISC" + } + } +}