Skip to content

Update gitpod setup steps #142

Update gitpod setup steps

Update gitpod setup steps #142

Workflow file for this run

name: Build & Lint
on: [push]
jobs:
lint:
name: Lint & TS Check
runs-on: ubuntu-latest
container:
image: node:20
env:
NEXT_PUBLIC_DRUPAL_BASE_URL: ${{ secrets.NEXT_PUBLIC_DRUPAL_BASE_URL }}
DRUPAL_BASIC_AUTH: ${{ secrets.DRUPAL_BASIC_AUTH }}
DRUPAL_BASIC_AUTH_ADMIN: ${{ secrets.DRUPAL_BASIC_AUTH_ADMIN }}
steps:
- uses: actions/checkout@v4
- name: Restore Cache
uses: actions/cache@v4
with:
path: |
node_modules
.next
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 next telemetry disable
yarn lint
# - name: Build
# run: |
# yarn build