-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (37 loc) · 1.12 KB
/
e2e.yml
File metadata and controls
40 lines (37 loc) · 1.12 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
name: Run Node.js SDK E2E Tests
on:
push:
branches:
- '**'
- '!master'
jobs:
run-tests:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18, 20, 22]
os: [ubuntu-latest]
include:
- perform-attestation: true
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npm run test:e2e
env:
EV_APP_UUID: ${{ secrets.EV_APP_UUID_V5 }}
EV_API_KEY: ${{ secrets.EV_API_KEY_V5 }}
EV_FUNCTION_NAME: ${{ secrets.EV_FUNCTION_NAME_V5 }}
EV_INITIALIZATION_ERROR_FUNCTION_NAME: ${{ secrets.EV_INITIALIZATION_ERROR_FUNCTION_NAME }}
EV_SYNTHETIC_ENDPOINT_URL: ${{ secrets.EV_SYNTHETIC_ENDPOINT_URL }}