-
Notifications
You must be signed in to change notification settings - Fork 3
41 lines (34 loc) · 880 Bytes
/
test.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
39
40
41
name: Test
on:
push:
branches:
- main
pull_request_target:
branches:
- main
workflow_dispatch:
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
name: "${{ matrix.os }}"
runs-on: ${{ matrix.os }}
env:
VERBOSE: 1
TUNNEL_TOKEN: ${{ secrets.TUNNEL_TOKEN }}
CLOUDFLARED_VERSION: 2023.4.1
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup PNPM
uses: pnpm/action-setup@v2.2.2
with:
version: latest
- name: Build
run: pnpm i && pnpm build
- name: Test
run: pnpm test