add case 13 and node 20 #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |