mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-11 12:52:13 +08:00
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:
committed by
GitHub
parent
91db6ee322
commit
de86df7fe4
2
.github/workflows/do-spaces-workflow.yml
vendored
2
.github/workflows/do-spaces-workflow.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Test and deploy to DigitalOcean Spaces
|
||||
name: Deploy to DigitalOcean Spaces
|
||||
|
||||
on: push
|
||||
|
||||
|
21
.github/workflows/test-workflow.yml
vendored
21
.github/workflows/test-workflow.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user