diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7da691..cf884d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,21 @@ jobs: - name: Install dependencies run: npm install - run: npm run lint + test: + name: test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - uses: actions/setup-node@v1 + with: + node-version: "12" + - run: cp .env.sample .env + - name: Install dependencies + run: npm install + - name: Run Tests + run: npm run coverage coverage: name: Test and publish test coverage # The OS on which the job will run