Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
22576258
Unverified
Commit
22576258
authored
3 years ago
by
Alexander Polyankin
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add yarn caching to chromatic (#19540)
parent
2f0ef803
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/chromatic.yml
+0
-19
0 additions, 19 deletions
.github/workflows/chromatic.yml
.github/workflows/frontend.yml
+28
-0
28 additions, 0 deletions
.github/workflows/frontend.yml
with
28 additions
and
19 deletions
.github/workflows/chromatic.yml
deleted
100644 → 0
+
0
−
19
View file @
2f0ef803
name
:
'
Chromatic'
on
:
push
jobs
:
chromatic-deployment
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v2
with
:
fetch-depth
:
0
-
name
:
Install dependencies
run
:
yarn
-
name
:
Publish to Chromatic
uses
:
chromaui/action@v1
with
:
token
:
${{ secrets.GITHUB_TOKEN }}
projectToken
:
${{ secrets.CHROMATIC_PROJECT_TOKEN }}
This diff is collapsed.
Click to expand it.
.github/workflows/frontend.yml
+
28
−
0
View file @
22576258
...
...
@@ -150,3 +150,31 @@ jobs:
-
run
:
yarn install --frozen-lockfile --prefer-offline
-
run
:
yarn run test-timezones
name
:
Run frontend timezones tests
fe-chromatic
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v2
with
:
fetch-depth
:
0
-
name
:
Prepare Node.js
uses
:
actions/setup-node@v1
with
:
node-version
:
14.x
-
name
:
Get yarn cache
uses
:
actions/cache@v2
with
:
path
:
~/.cache/yarn
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
-
name
:
Get node_modules cache
uses
:
actions/cache@v2
with
:
path
:
node_modules
key
:
${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
-
run
:
yarn install --frozen-lockfile --prefer-offline
-
name
:
Publish to Chromatic
uses
:
chromaui/action@v1
with
:
token
:
${{ secrets.GITHUB_TOKEN }}
projectToken
:
${{ secrets.CHROMATIC_PROJECT_TOKEN }}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment