-
Notifications
You must be signed in to change notification settings - Fork 42
37 lines (34 loc) · 808 Bytes
/
test.yaml
File metadata and controls
37 lines (34 loc) · 808 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
29
30
31
32
33
34
35
36
37
name: Test Deployment
on:
pull_request:
types:
- opened
- edited
- synchronize
branches:
- main
jobs:
setup:
name: Install Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: '22.14.0'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
build-website:
name: Test Build Website
needs: setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: '22.14.0'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- run: yarn install --frozen-lockfile
- run: yarn build --locale en