Skip to content

fixup

fixup #37

Workflow file for this run

name: Build & Lint
on: [push]
jobs:
lint:
name: Lint & TS Check
runs-on: ubuntu-latest
container:
image: node:18
env:
NODE_ENV: development
NEXT_PUBLIC_DRUPAL_BASE_URL: ${{ secrets.NEXT_PUBLIC_DRUPAL_BASE_URL }}
NEXT_IMAGE_DOMAIN: ${{ secrets.NEXT_IMAGE_DOMAIN }}
steps:
- uses: actions/checkout@v2
- name: Restore Cache
uses: actions/cache@v3
with:
path: |
node_modules
key: 1.x-${{ hashFiles('package.json') }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
1.x-${{ hashFiles('package.json') }}-${{ hashFiles('yarn.lock') }}
1.x-${{ hashFiles('package.json') }}-
1.x-
- name: Lint
run: |
yarn
yarn lint
# - name: Build
# run: |
# yarn build