added new hroug 25 talk to my website #486
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: 'Code Linting' | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@master | |
| with: | |
| node-version: 14.x | |
| - uses: actions/cache@master | |
| id: cacheNodeModules | |
| with: | |
| path: node_modules | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
| - name: yarn install | |
| if: steps.cacheNodeModules.outputs.cache-hit != 'true' | |
| run: yarn install | |
| - run: yarn lint | |
| env: | |
| CI: true |