Translate _locales/en/messages.json in zh #1551
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
push: | |
branches: | |
- develop | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-versions: [14.x] | |
npm-version: [7.x] | |
name: node${{ matrix.node-versions }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up node ${{ matrix.node-versions }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-versions }} | |
- name: Set up npm ${{ matrix.npm-version }} | |
run: npm i -g npm@"${{ matrix.npm-version }}" | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- name: Install dependencies & build | |
run: | | |
echo "Install" | |
npm ci -f | |
echo "Build javascript" | |
npm run build-release --if-present | |
echo "Build Java" | |
cd android | |
chmod +x gradlew | |
./gradlew assemble |