Skip to content

use main branch name from config #48

use main branch name from config

use main branch name from config #48

Workflow file for this run

name: Lint
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
env:
# temporary workaround until move those value to API call or lyra.yml
REPO_PATH: "any value"
GITHUB_AUTH: "any value"
GITHUB_REPO: "any value"
GITHUB_OWNER: "any value"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./webapp
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'yarn'
cache-dependency-path: ./webapp/yarn.lock
- run: yarn
- run: yarn lint
- run: yarn build
- run: yarn test