Merge pull request #357 from H1ghBre4k3r/dependabot/npm_and_yarn/moch… #650
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker | |
on: [push] | |
jobs: | |
build-and-test-package: | |
name: Build & Test Package | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- name: Install dependencies | |
run: npm ci | |
- name: Build (typecheck) the project | |
run: npm run build | |
- name: Lint the project | |
run: npm run lint | |
- name: Test the project | |
run: npm run coverage |