-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (40 loc) · 1.13 KB
/
e2e.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
name: e2e tests on endo repo
on:
push:
workflow_dispatch:
inputs:
ref:
description: 'Endo repository ref'
required: true
default: 'refs/heads/master'
repository_dispatch:
types: [e2e]
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- name: checkout self
uses: actions/checkout@v3
- name: checkout from endo ${{ github.event.client_payload.ref }}
uses: actions/checkout@v3
with:
repository: endojs/endo
ref: ${{ github.event.client_payload.ref }}
path: _ENDO_REPO_
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: prepare local copy of SES
run: |
cd _ENDO_REPO_/packages/ses
yarn install
- name: setup and run the tests
run: |
cd test-imports
npm start
npm i -D --ignore-scripts ../_ENDO_REPO_/packages/ses
npm i -D --ignore-scripts ../_ENDO_REPO_/packages/compartment-mapper
npm test
npm ls ses