fix(CI): update runner, display .env for upcoming (#39808)

This commit is contained in:
Mrugesh Mohapatra
2020-10-07 16:20:59 +05:30
committed by GitHub
parent 05f11a7007
commit eab14b8235
3 changed files with 16 additions and 13 deletions

View File

@ -8,7 +8,7 @@ on:
jobs:
i18n-sync-docs:
name: Docs
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- name: Checkout Source Files
@ -25,17 +25,17 @@ jobs:
# downloads
download_translations: true
commit_message: 'chore(docs,i8n): processed translations from crowdin'
commit_message: "chore(docs,i8n): processed translations from crowdin"
# pull-request
localization_branch_name: i18n-sync-docs
create_pull_request: true
pull_request_title: 'chore(docs,i8n): processed translations from crowdin'
pull_request_body: ''
pull_request_labels: 'scope: i18n, scope: docs, crowdin-sync'
pull_request_title: "chore(docs,i8n): processed translations from crowdin"
pull_request_body: ""
pull_request_labels: "scope: i18n, scope: docs, crowdin-sync"
# global options
config: './docs/crowdin.yml'
config: "./docs/crowdin.yml"
base_url: ${{ secrets.CROWDIN_BASE_URL_FCC }}
# Uncomment below to debug

View File

@ -1,4 +1,4 @@
name: Node.js CI (Next)
name: Node.js CI - Test Upcoming
on:
push:
branches:
@ -7,10 +7,9 @@ on:
- upcoming-**
schedule:
# run this Action every 14 days
- cron: '0 * */14 * *'
- cron: "0 * */14 * *"
workflow_dispatch:
jobs:
lint:
name: Lint
@ -43,7 +42,10 @@ jobs:
${{ runner.os }}-
- name: Set Environment variables
run: cp sample.env .env
run: |
cp sample.env .env
echo 'SHOW_UPCOMING_CHANGES=true' >> .env
cat .env
- name: Lint Source Files
run: |
@ -54,7 +56,7 @@ jobs:
test:
name: Test
needs: lint
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
strategy:
matrix:
@ -86,6 +88,7 @@ jobs:
run: |
cp sample.env .env
echo 'SHOW_UPCOMING_CHANGES=true' >> .env
cat .env
- name: Install Dependencies
run: |

View File

@ -44,7 +44,7 @@ jobs:
test:
name: Test
needs: lint
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
strategy:
matrix: