Skip to content

Merge branch 'main' into feature/SOEOPSFY24-301--timeline #98

Merge branch 'main' into feature/SOEOPSFY24-301--timeline

Merge branch 'main' into feature/SOEOPSFY24-301--timeline #98

Workflow file for this run

name: Lint
on:
push:
# pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set the correct Node version using nvm
shell: bash -l {0}
run: nvm install
- uses: bahmutov/npm-install@v1
with:
useLockFile: false
- name: Lint
run: npm run lint
- name: Typecheck
run: npm run tsc
jobs:

Check failure on line 22 in .github/workflows/eslint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/eslint.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
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: Lint
run: |
yarn
yarn lint