1name: build
2
3# Cloudflare Pages builds and deploys the site through its GitHub integration.
4# This workflow only builds pull requests, including those from forks, which
5# Cloudflare does not build. The build fails on broken links.
6
7on:
8 pull_request:
9 workflow_dispatch:
10
11permissions:
12 contents: read
13
14jobs:
15 build:
16 name: Build
17 runs-on: ubuntu-latest
18 environment: secret-free
19 steps:
20 - uses: actions/checkout@v7.0.1
21 with:
22 persist-credentials: false
23
24 - uses: actions/setup-node@v7.1.0
25 with:
26 node-version-file: website/.nvmrc
27
28 - name: Install dependencies
29 working-directory: website
30 run: npm install
31
32 - name: Build website
33 working-directory: website
34 run: npm run build
35
1name: build
2
3# Cloudflare Pages builds and deploys the site through its GitHub integration.
4# This workflow only builds pull requests, including those from forks, which
5# Cloudflare does not build. The build fails on broken links.
6
7on:
8 pull_request:
9 workflow_dispatch:
10
11permissions:
12 contents: read
13
14jobs:
15 build:
16 name: Build
17 runs-on: ubuntu-latest
18 environment: secret-free
19 steps:
20 - uses: actions/checkout@v7.0.1
21 with:
22 persist-credentials: false
23
24 - uses: actions/setup-node@v7.1.0
25 with:
26 node-version-file: website/.nvmrc
27
28 - name: Install dependencies
29 working-directory: website
30 run: npm install
31
32 - name: Build website
33 working-directory: website
34 run: npm run build
35