-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update visual regression test workflow
- Node version set to 12 to match Jenkins - Remove operating system from cache keys - Bundle flag updated to use `--deployment`
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,23 +15,23 @@ jobs: | |
- uses: ruby/setup-ruby@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "14" | ||
node-version: "12" | ||
- name: Check for cached Ruby gems | ||
uses: actions/cache@v2 | ||
with: | ||
path: vendor/bundle | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||
restore-keys: ${{ runner.os }}-gems- | ||
key: bundle-${{ hashFiles('**/Gemfile.lock') }} | ||
restore-keys: bundle | ||
- name: Get Yarn cache directory path | ||
id: yarn-cache-directory-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Check for cached Yarn dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.yarn-cache-directory-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: ${{ runner.os }}-yarn- | ||
- run: bundle install --jobs 4 --retry 3 --path vendor/bundle | ||
key: yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: yarn- | ||
- run: bundle install --jobs 4 --retry 3 --deployment | ||
- run: yarn install --frozen-lockfile | ||
- uses: percy/[email protected] | ||
with: | ||
|