-
Notifications
You must be signed in to change notification settings - Fork 282
54 lines (42 loc) · 1.42 KB
/
Copy pathe2e.yml
File metadata and controls
54 lines (42 loc) · 1.42 KB
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
52
53
54
name: E2E
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
jobs:
e2e:
name: e2e (${{ matrix.os }})
permissions:
contents: read
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
DEGIT_TEST_MODE: release
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.14
- run: bun --version
- name: Use Node.js LTS
uses: actions/setup-node@v5
with:
node-version: lts/*
- name: Start SSH agent for private live tests
if: "${{ env.SSH_PRIVATE_KEY != '' }}"
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
- name: Trust SSH hosts used by live tests
if: "${{ env.SSH_PRIVATE_KEY != '' }}"
shell: bash
run: |
mkdir -p ~/.ssh
ssh-keyscan github.com gitlab.com bitbucket.org git.sr.ht >> ~/.ssh/known_hosts
- run: bun install --frozen-lockfile
- run: bun run test:integration:release