Merge pull request #1340 from simple-keyboard/dependabot/npm_and_yarn… #3260
This file contains hidden or 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: Build | |
| on: | |
| push: | |
| paths-ignore: | |
| - README.md | |
| - .gitignore | |
| - .github/** | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| node-version: [12.x] | |
| os: [ubuntu-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: npm install, build, and test | |
| run: | | |
| npm install | |
| npm run test | |
| env: | |
| CI: true |