-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update capture.yml and delete update.yml
- Loading branch information
1 parent
f2d0288
commit c42bc3b
Showing
3 changed files
with
24 additions
and
1,858 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 |
---|---|---|
|
@@ -10,50 +10,11 @@ on: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
||
- name: Cache node_modules | ||
id: cache-node_modules | ||
uses: actions/[email protected] | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: ${{ runner.os }}-yarn- | ||
|
||
- name: Install Dep | ||
# if: steps.cache-node_modules.outputs.cache-hit != 'true' | ||
uses: ianwalter/[email protected] | ||
with: | ||
args: yarn | ||
|
||
- name: Capture Screenshots | ||
uses: ianwalter/[email protected] | ||
with: | ||
args: yarn capture | ||
|
||
- name: Save screenshots | ||
uses: EndBug/add-and-commit@v4 | ||
with: | ||
author_name: Bot | ||
author_email: [email protected] | ||
message: "Save screenshots" | ||
add: "*.jpeg" | ||
|
||
- name: Update data.json | ||
uses: EndBug/add-and-commit@v4 | ||
with: | ||
author_name: Bot | ||
author_email: [email protected] | ||
message: "Update data.json" | ||
add: "data.json" | ||
screenshot: | ||
- name: Screenshot Website | ||
uses: swinton/[email protected] | ||
with: | ||
source: https://github.com/swinton/screenshot-website | ||
destination: screenshot.png | ||
full-page: true | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.