Skip to content

feat: expo 52

feat: expo 52 #92

Workflow file for this run

name: Lint
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
# Replace pull_request with pull_request_target if you
# plan to use this action with forks, see the Limitations section
pull_request:
branches:
- main
jobs:
run-linters:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["20"]
name: Run linters with Node ${{ matrix.node }}
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: bun
- name: Find bun cache
id: bun-cache-path
run: echo "dir=$(bun cache dir)" >> $GITHUB_OUTPUT
- name: Restore cache
uses: actions/cache@v4
with:
path: ${{ steps.bun-cache-path.outputs.dir }}
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
restore-keys: ${{ runner.os }}-bun-
- name: Install dependencies
use: oven-sh/setup-bun@v2

Check failure on line 43 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / Lint

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 43, Col: 9): Unexpected value 'use' .github/workflows/lint.yml (Line: 46, Col: 9): Unexpected value 'run'
with:
bun-version: 1.1.42
run: bun install
- name: Run ESLint
uses: wearerequired/lint-action@v2
with:
github_token: ${{ secrets.github_token }}
# Enable linters
eslint: true