-
Notifications
You must be signed in to change notification settings - Fork 22
46 lines (41 loc) · 1.09 KB
/
build-dry-run.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: 🔧 Build (dry-run)
on:
workflow_dispatch:
push:
branches: [develop]
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize
jobs:
build-dry-run:
runs-on: ubuntu-latest
env:
PRIVATE_MEILISEARCH_DOCUMENTS_ADMIN_API_KEY: dry.run
PUBLIC_MEILISEARCH_DOCUMENTS_CLIENT_API_KEY: dry.run
PUBLIC_MEILISEARCH_HOST: dry.run
PUBLIC_SUPPORT_API_HOST: dry.run
PUBLIC_BEHIIV_API_KEY: dry.run
PUBLIC_BEHIIV_SUBSCRIBE_URL: dry.run
PUBLIC_BEEHIIV_PROXY_SERVER_URL: dry.run
PUBLIC_GRAPHQL_ENDPOINT: dry.run
PUBLIC_FLEEK_REST_API_URL: dry.run
PUBLIC_DYNAMIC_ENVIRONMENT_ID: 'UNAVAILABLE'
PUBLIC_UI_APP_URL: dry.run
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref || github.ref_name }}
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install
run: npm ci
- name: Build site
run: npm run build