This repository has been archived by the owner on Oct 12, 2024. It is now read-only.
fix: Updates dependencies & local development environment (#229) #207
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Internationalization | |
on: | |
pull_request: | |
push: | |
branches: | |
- develop | |
- 'release/**' | |
- 'feature/**' | |
- 'fix/**' | |
env: | |
ACTION_VERSION: 3 | |
WP_MULTISITE: 0 | |
jobs: | |
check_i18n: | |
name: Setup & Check Internationalization | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
# https://github.com/marketplace/actions/checkout | |
uses: actions/checkout@v2 | |
- 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 check:i18n |