-
-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (29 loc) · 736 Bytes
/
main.yml
File metadata and controls
34 lines (29 loc) · 736 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
name: CI
on:
# To be fixed
# push:
# branches:
# - main
# pull_request:
# branches:
# - main
jobs:
build:
name: test Node ${{ matrix.node }} ${{ matrix.os }}
timeout-minutes: 15
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['18.x']
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: corepack enable && pnpm i
- name: Test
run: npm test -- --forceExit || npm test -- --forceExit || npm test -- --forceExit