Add Square tile #90
This file contains 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: Run Linting | |
# This workflow is triggered on pushes to the repository. | |
on: [push] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- id: get-node-version | |
name: Get node version from engines.node field in package.json | |
run: echo ::set-output name=node::$(cat ./package.json | grep '"node"' | cut -d '"' -f 4) | |
- id: get-yarn-version | |
name: Get yarn version from engines.yarn field in package.json | |
run: echo ::set-output name=yarn::$(cat ./package.json | grep '"yarn"' | cut -d '"' -f 4) | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{steps.get-node-version.outputs.node}} | |
- name: Install | |
run: | | |
yarn policies set-version ${{steps.get-yarn-version.outputs.yarn}} | |
yarn install | |
- name: Lint TypeScript | |
run: yarn lint-ts --max-warnings 0 | |
- name: Lint Styles | |
run: yarn lint-style |