Skip to content

Use import.meta.env + ENV file so hydrated components work #1990

Use import.meta.env + ENV file so hydrated components work

Use import.meta.env + ENV file so hydrated components work #1990

Workflow file for this run

name: Test, typecheck, and lint
on:
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Typecheck
run: npm run check
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Build
env:
SKIP_BUILD_COMPRESS: 1
NODE_OPTIONS: "--max_old_space_size=4096"
run: npm run build