-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
24 lines (23 loc) · 739 Bytes
/
Copy pathaction.yml
File metadata and controls
24 lines (23 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: 'Screenshot and Diff'
description: 'Create screenshots of a set of URLs and run diffs between old and new versions'
runs:
using: 'composite'
steps:
- name: Set up node
uses: actions/setup-node@v2
- name: Install dependencies
run: cd $GITHUB_ACTION_PATH && npm install
shell: bash
- name: Create screenshots & diffs
run: cd $GITHUB_ACTION_PATH && npm run start
shell: bash
- name: Set screenshot path
run: |
echo "screenshot_path=$GITHUB_ACTION_PATH" >> $GITHUB_ENV
shell: bash
- name: test2
run: cd $GITHUB_ACTION_PATH && ls -la
shell: bash
- uses: actions/upload-artifact@v2
with:
path: ${{ env.screenshot_path }}/screenshots/