Skip to content

Commit a26bbb7

Browse files
committed
test integration workflow
1 parent d9b28a6 commit a26bbb7

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/integration.yaml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Integration
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_call:
11+
12+
concurrency:
13+
cancel-in-progress: true
14+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
15+
16+
env:
17+
NODE_VERSION: 20
18+
19+
jobs:
20+
test:
21+
name: Test
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
os: [ubuntu-latest, windows-latest]
26+
runs-on: ${{ matrix.os }}
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
31+
- name: Install pnpm
32+
uses: pnpm/action-setup@v4
33+
34+
- name: Install Node.js
35+
uses: actions/setup-node@v4
36+
with:
37+
node-version: ${{ env.NODE_VERSION }}
38+
cache: pnpm
39+
40+
- name: Install dependencies
41+
run: pnpm install
42+
43+
# - name: Generates docs TypeScript types
44+
# run: pnpm astro sync
45+
# working-directory: docs
46+
47+
- name: Test
48+
run: pnpm test

0 commit comments

Comments
 (0)