Skip to content

Fix target-size-enhanced anchor #311

Fix target-size-enhanced anchor

Fix target-size-enhanced anchor #311

Workflow file for this run

name: Lint components
on:
push:
pull_request:
jobs:
build_site:
runs-on: ubuntu-latest
name: Lint components
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Create env file
run: |
touch .env.production
echo ENVIRONMENT=${{ secrets.PRODUCTION_ENVIRONMENT }} >> .env.production
echo ANALYTICS_ENABLED=${{ secrets.PRODUCTION_ANALYTICS_ENABLED }} >> .env.production
echo ANALYTICS_GTM_ID=${{ secrets.PRODUCTION_ANALYTICS_GTM_ID }} >> .env.production
echo ANALYTICS_SERVER_URL=${{ secrets.PRODUCTION_ANALYTICS_SERVER_URL }} >> .env.production
- name: Run lint
run: |
npm install
npm run lint