-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (38 loc) · 1.21 KB
/
puppeteer.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
39
40
41
name: Puppeteer tests
# We've experienced quite a lot of instability with the puppeteer setup, notably
# the fact that it works locally but not in the Github action. Thus, we've removed
# it from the main integrate workflow, which in turns means we do not have a nice
# way to try and fix it.
# This workflow only runs the puppeteer tests, and MUST NOT be required as a branch
# protection. It will nonetheless let us monitor the status of it and make it easier
# for us to fix the problems once we get to it.
on:
push:
branches:
- main
pull_request:
branches:
- "*"
jobs:
build:
name: Build (puppeteer)
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v4
with:
path: .yarn/cache
key: yarn-${{ hashFiles('yarn.lock') }}
- run: >
yarn config set
npmScopes.siteimprove.npmAuthToken
${{ secrets.GITHUB_TOKEN }}
- run: yarn install --immutable
- run: yarn build
- run: yarn workspace end-to-end-testing-puppeteer test