mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 07:28:05 -05:00
* add first test * create connectMetamaskToDapp fixture * bump testing framework version * correctly working connectMetamaskToDapp function * working metamask e2e test * ci fix * fix * some changes * working transaction history list test * try version bump * try version bump * work on toggleShowTestNetworksInNativeBridgeForm * try playwright 1.51.1 * ci file change * test fixture changes * try * try * try * try * test * Revert "test" This reverts commit 2592b6835530feb912d537a29eefaba37f74560e. * try fix * try fix * test * test * Revert "test" This reverts commit a21634ca9224b3d025290e215ba61917bec043ff. * working toggle network e2e test * working confirm and bridge flow on e2e test * refactor metamask fixtures * successful e2e case for bridge eth * did usdc bridge e2e test * fix pnpm lock * refactor * refactor * lint and try single text * try * test * test ci change * test * test ci change * run once to get cache * first unit test for bridge-ui * redo test * more test logs * test * test * test * removed console logs * address one more edge case * activate all tests * try * more comments * adjust fixture * did some unit tests * add more unit tests * disable unit tests in ci * new e2e test * new comment * new things * fix * comment out blockchain tx tests * add reporter for playwright * removed pause * clean-up * test * change get token balance mechanic * fix import * fixes * clean up * test * try headless * redo headful
33 lines
770 B
YAML
33 lines
770 B
YAML
name: 'Setup nodes'
|
|
description: 'Setup nodejs'
|
|
|
|
inputs:
|
|
node-version:
|
|
description: 'The version of node to use'
|
|
required: true
|
|
default: '20.17.0'
|
|
pnpm-version:
|
|
description: 'The version of pnpm to use'
|
|
required: true
|
|
default: '9.14.4'
|
|
pnpm-install-options:
|
|
description: 'The options to pass to pnpm install'
|
|
required: true
|
|
default: '--frozen-lockfile --prefer-offline --ignore-scripts'
|
|
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
version: ${{ inputs.pnpm-version }}
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ inputs.node-version }}
|
|
cache: 'pnpm'
|
|
|
|
- name: pnpm install
|
|
run: pnpm i ${{ inputs.pnpm-install-options }}
|
|
shell: bash
|