Merge pull request #290 from relay-tools/relay-v20 #723
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, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [12.x] | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: install dependencies | |
| run: npm ci | |
| - name: compile | |
| run: npm run compile | |
| - name: format | |
| run: npm run format:ci | |
| - name: lint | |
| run: npm run eslint | |
| - name: test | |
| run: npm run test | |
| env: | |
| CI: true |