forked from MALSync/MALSync
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 821 Bytes
/
pages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Page tests
on:
push:
paths:
- 'src/pages/**'
pull_request:
paths:
- 'src/pages/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: files
continue-on-error: true
uses: jitterbit/get-changed-files@v1
with:
format: 'json'
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Checkout test data
uses: actions/checkout@v4
with:
repository: MALSync/test_data
ref: 'master'
path: test/dist/headless
- name: Decode
run: node decrypt.js
working-directory: test/dist/headless
- name: Page Tests
run: |
npm ci
npm run test:headless
env:
CI: true
FILES: ${{steps.files.outputs.added_modified}}