Skip to content

Commit 1087784

Browse files
committed
Add CI testing matrix
1 parent 263945c commit 1087784

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Run Tests
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
7+
jobs:
8+
tests:
9+
strategy:
10+
matrix:
11+
node: [22]
12+
os: [ubuntu-latest, macos-latest, windows-latest]
13+
14+
runs-on: ${{ matrix.os }}
15+
name: Run Tests - Node v${{ matrix.node }} / ${{ matrix.os }}
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: pnpm/action-setup@v4
20+
- uses: actions/setup-node@v4
21+
with:
22+
cache: 'pnpm'
23+
node-version: ${{ matrix.node-version }}
24+
25+
- name: Install dependencies
26+
run: pnpm install
27+
28+
- name: Run tests
29+
run: |
30+
cd packages/tailwindcss-language-server &&
31+
pnpm run build &&
32+
pnpm run test

0 commit comments

Comments
 (0)