-
-
Notifications
You must be signed in to change notification settings - Fork 1
28 lines (25 loc) · 684 Bytes
/
tests.yml
File metadata and controls
28 lines (25 loc) · 684 Bytes
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
name: Tests
on:
pull_request:
workflow_dispatch:
concurrency:
group: tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
name: Test website build
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache-dependency-path: ${{ env.BUILD_PATH }}/package-lock.json
- name: Install dependencies
uses: ./.github/workflows/actions/install-dependencies
- name: Build Eleventy in production mode
run: npm run build