-
Notifications
You must be signed in to change notification settings - Fork 94
38 lines (33 loc) · 1.08 KB
/
post-release-e2e.yml
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
name: Post-release E2E
on:
workflow_dispatch:
# Run after every release to NPM
push:
tags:
- v*
# Run on every Wednesday to check possible regressions caused by dependency updates
# Like this one: https://github.com/thomvaill/log4brains/issues/27
schedule:
- cron: "0 4 * * 3"
jobs:
e2e:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version:
- 20.x # Active LTS (https://github.com/nodejs/release)
- 18.x # Maintenance LTS
runs-on: ${{ matrix.os }}
steps:
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- name: install
run: npm install -g log4brains
- name: test # TODO: test the preview add some assertions :-) For now we just check the exit codes. Or manage to run e2e-tests/e2e-launcher.js from here
run: |
log4brains init --defaults
log4brains adr list
log4brains build