Skip to content

build: add THUMBNAIL_URL env variable to lint workflow #4

build: add THUMBNAIL_URL env variable to lint workflow

build: add THUMBNAIL_URL env variable to lint workflow #4

Workflow file for this run

name: Lint Code
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
lint:
runs-on: ubuntu-latest
env:
THUMBNAIL_URL: ${{ variables.THUMBNAIL_URL }}

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

View workflow run for this annotation

GitHub Actions / Lint Code

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 15, Col: 22): Unrecognized named-value: 'variables'. Located at position 1 within expression: variables.THUMBNAIL_URL
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Run linter
run: pnpm lint