Skip to content

Commit c5eb119

Browse files
committed
feat: add CI workflow for Vue testing
1 parent f64667b commit c5eb119

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/workflows/vue.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
name: 'Vue Test: node-${{ matrix.node }}'
15+
permissions:
16+
contents: read
17+
pull-requests: write
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
node: [20, 22, 24]
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v6
25+
with:
26+
fetch-depth: 0
27+
sparse-checkout-cone-mode: false
28+
sparse-checkout: |
29+
/*
30+
!/.specstory/
31+
32+
- name: Setup Node
33+
uses: actions/setup-node@v6
34+
with:
35+
node-version: ${{ matrix.node }}
36+
37+
- name: Install pnpm
38+
uses: pnpm/action-setup@v4
39+
40+
- name: Install
41+
run: pnpm install --no-frozen-lockfile
42+
43+
- name: Install Playwright Browsers
44+
run: pnpm playwright install --with-deps
45+
46+
- name: Test
47+
run: pnpm run vue test

0 commit comments

Comments
 (0)