-
Notifications
You must be signed in to change notification settings - Fork 47
55 lines (45 loc) · 1.47 KB
/
cucumber.yaml
File metadata and controls
55 lines (45 loc) · 1.47 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Cucumber E2E tests
on:
workflow_dispatch:
push:
paths:
- "features/**"
# risky... but we trust our developers :finger_crossed:
# pull_request:
# paths:
# - "features/**"
jobs:
make_salad:
name: Cucumber tests
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-2025]
# We only test LTS for now
node-version: [24]
runs-on: ${{ matrix.os }}
steps:
- name: Mask secrets
run: |
echo "::add-mask::${{ secrets.APIFY_TEST_USER_API_TOKEN }}"
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
package-manager-cache: false
- name: Enable corepack
run: |
corepack enable
corepack prepare yarn@stable --activate
- name: Activate cache for yarn
uses: actions/setup-node@v6
with:
cache: yarn
- name: Install Dependencies
run: yarn
- name: Run Cucumber tests
env:
APIFY_CLI_DISABLE_TELEMETRY: 1
TEST_USER_TOKEN: ${{ secrets.APIFY_TEST_USER_API_TOKEN }}
run: yarn test:cucumber