SOEOPSFY24-309 SOEOPSFY24-350 | adjust impact story banner and contri… #202
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: Lint | |
on: | |
push: | |
# pull_request: | |
jobs: | |
lint: | |
name: Lint & TS Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Restore Cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
node_modules | |
.next | |
key: lint-${{ hashFiles('package.json') }}-${{ hashFiles('yarn.lock') }} | |
restore-keys: | | |
lint-${{ hashFiles('package.json') }}-${{ hashFiles('yarn.lock') }} | |
lint-${{ hashFiles('package.json') }}- | |
- name: Enable Corepack | |
shell: bash | |
run: corepack enable | |
- name: Prepare Yarn Version | |
shell: bash | |
run: corepack prepare [email protected] --activate | |
- name: Lint | |
run: | | |
yarn | |
yarn lint |