Skip to content

Refactor crypto and other WASM-based modules #1158

Refactor crypto and other WASM-based modules

Refactor crypto and other WASM-based modules #1158

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
- feat/**
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 --frozen-lockfile
- uses: nrwl/nx-set-shas@v3
with:
main-branch-name: 'master'
- name: Build
run: yarn build
- name: Run Unit tests
run: yarn tools --test --unit
linter:
runs-on: ubuntu-latest
timeout-minutes: 10
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
- name: Lint
run: yarn nx format:check --all
e2e-connection:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
NETWORK: cayenne
MINT_NEW: true
DEBUG: true
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'
- name: Install project dependencies
run: yarn install
- name: Build packages
id: build
run: yarn build
- name: Run End to End Tests
if: steps.build.outputs.exit_code == 0
run: yarn test:e2e:node --group=connection --group=lit-actions --group=pkp-auth-method --group=pkp-ethers --group=pkp-encryption-decryption