forked from mozilla/fxa-content-server-l10n
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 885 Bytes
/
test.yaml
File metadata and controls
36 lines (36 loc) · 885 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
name: Tests
on:
push:
branches:
- main
paths:
- 'locale/**/*.po'
workflow_dispatch:
jobs:
run-test:
# Pontoon creates one commit per locale every 10 minutes, only run on
# the latest commit of the batch.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Install Linux packages
run: |
sudo apt update
sudo apt install gettext graphicsmagick -y
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 14
- name: Install global npm packages
run: |
npm install -g grunt-cli
- name: Clone l10n repository
uses: actions/checkout@v3
- name: Install npm packages
run: |
npm install
- name: Run tests
run: |
npm test