Skip to content

Merge pull request #92 from recepcaoimeusp/feat/addFinalGincana2024 #299

Merge pull request #92 from recepcaoimeusp/feat/addFinalGincana2024

Merge pull request #92 from recepcaoimeusp/feat/addFinalGincana2024 #299

Workflow file for this run

name: ci
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
linter:
runs-on: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node env
uses: actions/setup-node@v2.1.2
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache node_modules
uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn
- name: Run linter
run: yarn lint --max-warnings=0