Skip to content

Commit 62c518a

Browse files
authored
Add vdiff to CI (#757)
1 parent b7b1ae2 commit 62c518a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
on: pull_request
3+
jobs:
4+
vdiff:
5+
name: Visual diff tests
6+
timeout-minutes: 10
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Create GH Token
10+
uses: actions/create-github-app-token@v1
11+
id: gh-token
12+
with:
13+
app-id: ${{ vars.GH_TOKEN_APP_ID }}
14+
private-key: ${{ secrets.GH_TOKEN_APP_PRIVATE_KEY }}
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
with:
18+
persist-credentials: false
19+
- name: Setup Node
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version-file: .nvmrc
23+
cache: npm
24+
- name: Install dependencies
25+
run: npm ci
26+
- name: vdiff Tests
27+
uses: BrightspaceUI/actions/vdiff@main
28+
with:
29+
github-token: ${{ steps.gh-token.outputs.token }}

0 commit comments

Comments
 (0)