Skip to content

Ci/e2e test runner #930

Ci/e2e test runner

Ci/e2e test runner #930

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
master:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install project dependencies
run: yarn install
- uses: nrwl/nx-set-shas@v3
- name: Run tests
run: npx nx test
e2e-actions:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
NETWORK: cayenne
MINT_NEW: true
DEBUG: false
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install project dependencies
run: yarn install
- uses: nrwl/nx-set-shas@v3
- name: Build packages
run: yarn build
- uses: nrwl/nx-set-shas@v3
- name: Run lit action tests
run: yarn test:e2e:node --group=lit-actions
e2e-connection:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
NETWORK: cayenne
MINT_NEW: false
DEBUG: false
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install project dependencies
run: yarn install
- uses: nrwl/nx-set-shas@v3
- name: Build packages
run: yarn build
- uses: nrwl/nx-set-shas@v3
- name: Run lit action tests
run: yarn test:e2e:node --group=connection
e2e-auth-methods:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
NETWORK: cayenne
MINT_NEW: true
DEBUG: false
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install project dependencies
run: yarn install
- uses: nrwl/nx-set-shas@v3
with:
main-branch-name: 'master'
- name: Build packages
run: yarn build
- name: Run lit action tests
run: yarn test:e2e:node --group=pkp-auth-method