UNPKG

wcag-color

Version:

Color constrast helpers to achieve the WCAG 2.0 standard

32 lines (25 loc) 594 B
name: Run tests on PR on: pull_request: branches: - master jobs: test: name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: node-version: [10.x, 12.x] os: [ubuntu-latest, macOS-latest] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: Run tests and linting run: | npm ci npm test env: CI: true