name: toolkit-unit-tests on: push: branches: - master paths-ignore: - '**.md' pull_request: paths-ignore: - '**.md' jobs: build: name: Build strategy: matrix: runs-on: [ubuntu-latest, macOS-latest, windows-latest] fail-fast: false runs-on: ${{ matrix.runs-on }} steps: - name: Checkout uses: actions/checkout@v1 - name: Set Node.js 12.x uses: actions/setup-node@master with: node-version: 12.x - name: npm install run: npm install - name: Bootstrap run: npm run bootstrap - name: Compile run: npm run build - name: npm test run: npm test - name: Lint run: npm run lint - name: Format run: npm run format-check - name: audit tools run: npm audit --audit-level=moderate - name: audit packages run: npm run audit-all