-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (34 loc) · 1.03 KB
/
lang.yml
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
# This workflow checks app for unused or missing lang strings
name: Lang string check CI
on:
push:
branches:
- master
- 'release/**'
env:
ADAPT_AUTHORING_AUTH__tokenSecret: ${{ secrets.ADAPT_AUTH_TOKEN_SECRET }}
ADAPT_AUTHORING_MONGODB__connectionUri: 'mongodb://0.0.0.0/adapt-authoring'
ADAPT_AUTHORING_SERVER__host: 'localhost'
ADAPT_AUTHORING_SERVER__port: '5678'
ADAPT_AUTHORING_SERVER__url: 'http://localhost:5678'
ADAPT_AUTHORING_SESSIONS__secret: ${{ secrets.ADAPT_SESSIONS_SECRET }}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
mongodb-version: [7.0]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
- run: npm i
- run: npx at-langcheck