Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
9df5b536
Unverified
Commit
9df5b536
authored
May 29, 2021
by
Moody Salem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(ci): set up the shared cache for all jobs and extract before doing the sync
parent
4b72d757
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
84 additions
and
0 deletions
+84
-0
crowdin-sync.yaml
.github/workflows/crowdin-sync.yaml
+24
-0
crowdin.yaml
.github/workflows/crowdin.yaml
+12
-0
integration-tests.yaml
.github/workflows/integration-tests.yaml
+12
-0
lint.yml
.github/workflows/lint.yml
+12
-0
release.yaml
.github/workflows/release.yaml
+12
-0
unit-tests.yaml
.github/workflows/unit-tests.yaml
+12
-0
No files found.
.github/workflows/crowdin-sync.yaml
View file @
9df5b536
...
...
@@ -17,6 +17,30 @@ jobs:
-
name
:
Checkout
uses
:
actions/checkout@v2
-
name
:
Set up node
uses
:
actions/setup-node@v2
with
:
node-version
:
14
registry-url
:
https://registry.npmjs.org
-
name
:
Get yarn cache directory path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
-
uses
:
actions/cache@v2
id
:
yarn-cache
# use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with
:
path
:
${{ steps.yarn-cache-dir-path.outputs.dir }}
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys
:
|
${{ runner.os }}-yarn-
-
name
:
Install dependencies
run
:
yarn install --frozen-lockfile
-
name
:
Extract translations
run
:
"
yarn
lingui
extract
--locale
en-US"
-
name
:
Synchronize
uses
:
crowdin/github-action@1.1.0
with
:
...
...
.github/workflows/crowdin.yaml
View file @
9df5b536
...
...
@@ -21,6 +21,18 @@ jobs:
node-version
:
14
registry-url
:
https://registry.npmjs.org
-
name
:
Get yarn cache directory path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
-
uses
:
actions/cache@v2
id
:
yarn-cache
# use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with
:
path
:
${{ steps.yarn-cache-dir-path.outputs.dir }}
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys
:
|
${{ runner.os }}-yarn-
-
name
:
Install dependencies
run
:
yarn install --frozen-lockfile
...
...
.github/workflows/integration-tests.yaml
View file @
9df5b536
...
...
@@ -22,6 +22,18 @@ jobs:
node-version
:
14
registry-url
:
https://registry.npmjs.org
-
name
:
Get yarn cache directory path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
-
uses
:
actions/cache@v2
id
:
yarn-cache
# use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with
:
path
:
${{ steps.yarn-cache-dir-path.outputs.dir }}
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys
:
|
${{ runner.os }}-yarn-
-
name
:
Install dependencies
run
:
yarn install --frozen-lockfile
...
...
.github/workflows/lint.yml
View file @
9df5b536
...
...
@@ -23,6 +23,18 @@ jobs:
node-version
:
14
registry-url
:
https://registry.npmjs.org
-
name
:
Get yarn cache directory path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
-
uses
:
actions/cache@v2
id
:
yarn-cache
# use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with
:
path
:
${{ steps.yarn-cache-dir-path.outputs.dir }}
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys
:
|
${{ runner.os }}-yarn-
-
name
:
Install dependencies
run
:
yarn install --frozen-lockfile
...
...
.github/workflows/release.yaml
View file @
9df5b536
...
...
@@ -33,6 +33,18 @@ jobs:
-
name
:
Checkout
uses
:
actions/checkout@v2
-
name
:
Get yarn cache directory path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
-
uses
:
actions/cache@v2
id
:
yarn-cache
# use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with
:
path
:
${{ steps.yarn-cache-dir-path.outputs.dir }}
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys
:
|
${{ runner.os }}-yarn-
-
name
:
Set up node
uses
:
actions/setup-node@v2
with
:
...
...
.github/workflows/unit-tests.yaml
View file @
9df5b536
...
...
@@ -21,6 +21,18 @@ jobs:
node-version
:
14
registry-url
:
https://registry.npmjs.org
-
name
:
Get yarn cache directory path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
-
uses
:
actions/cache@v2
id
:
yarn-cache
# use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with
:
path
:
${{ steps.yarn-cache-dir-path.outputs.dir }}
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys
:
|
${{ runner.os }}-yarn-
-
name
:
Install dependencies
run
:
yarn install --frozen-lockfile
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment