Add script to verify integrity of language packs (#203)

* Add script to verify integrity of language packs

* Update workflows

* It'd help if we ran the right test
This commit is contained in:
Matt (IPv4) Cowley
2020-12-21 15:22:07 +00:00
committed by GitHub
parent 91db6ee322
commit de86df7fe4
5 changed files with 455 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
name: Test and deploy to DigitalOcean Spaces
name: Deploy to DigitalOcean Spaces
on: push

View File

@@ -44,3 +44,24 @@ jobs:
- name: Test with sass-lint
run: npm run test:sass-lint
i18n-packs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm
- name: Use Node.js (.nvmrc)
uses: actions/setup-node@v1
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
- name: Install dependencies
run: npm ci
- name: Test i18n packs integrity
run: npm run test:i18n-packs