-
Notifications
You must be signed in to change notification settings - Fork 21
51 lines (39 loc) · 1019 Bytes
/
test.yml
File metadata and controls
51 lines (39 loc) · 1019 Bytes
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
41
42
43
44
45
46
47
48
49
50
51
name: Basic build and tests
on:
push:
# Allows manual workflow runs with branch selection in UI
workflow_dispatch: {}
jobs:
unit:
name: unit
runs-on: ubuntu-latest
timeout-minutes: 20
# runs-on: [self-hosted, k8s, linux]
# container:
# image: node:22-slim
# options: --user root
steps:
- name: Check out code
uses: actions/checkout@v5
- name: Read .nvmrc
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
- uses: pnpm/action-setup@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '${{ env.NVMRC }}'
cache: 'pnpm'
- name: Set up dependencies
run: pnpm i --frozen-lockfile
- name: test
run: pnpm quality
env:
WALLET_MNEMONIC: ${{ secrets.WALLET_MNEMONIC }}
e2e-web:
needs: unit
uses: ./.github/workflows/e2e_web.yml
secrets: inherit
e2e-extension:
needs: unit
uses: ./.github/workflows/e2e_extension.yml
secrets: inherit