-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (31 loc) · 793 Bytes
/
i18n.yml
File metadata and controls
39 lines (31 loc) · 793 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
38
39
name: Internationalization
on:
pull_request:
push:
branches:
- dev
- 'release/**'
- 'feature/**'
- 'fix/**'
env:
WP_MULTISITE: 0
ACTION_VERSION: 2
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
check_i18n:
name: Setup & Check Internationalization
runs-on: ubuntu-latest
steps:
- name: Checkout Code
# https://github.com/marketplace/actions/checkout
uses: actions/checkout@v4
- name: Setup Node Environment
# https://github.com/marketplace/actions/setup-node-js-environment
uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: ${{ !env.ACT && 'npm' || '' }}
- name: NPM Install
run: npm ci
- name: Check i18n Compliance
run: npm run i18n:check