-
Notifications
You must be signed in to change notification settings - Fork 6
40 lines (32 loc) · 814 Bytes
/
ci.yml
File metadata and controls
40 lines (32 loc) · 814 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
40
name: CI
on:
push:
# Don't run this workflow when a tag is pushed.
branches:
- '*'
pull_request:
jobs:
linux:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install gettext
run: |
sudo apt-get update
sudo apt-get install -y --no-upgrade gettext
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Build MO files
run: |
chmod +x ./test/build_mo_files.sh
./test/build_mo_files.sh
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test