Skip to content

Commit 1e39233

Browse files
committed
format and add workflow_dispatch to test CI on GH Action
1 parent 5ae4556 commit 1e39233

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
name: Tests
22

33
on:
4+
workflow_dispatch:
45
push:
5-
branches: [ main ]
6+
branches: [main]
67
pull_request:
7-
branches: [ main ]
8+
branches: [main]
89

910
jobs:
1011
test:
@@ -16,7 +17,7 @@ jobs:
1617
- name: Setup Node.js
1718
uses: actions/setup-node@v4
1819
with:
19-
node-version: '22'
20+
node-version: "22"
2021

2122
- name: Install pnpm
2223
uses: pnpm/action-setup@v4
@@ -25,9 +26,9 @@ jobs:
2526

2627
- name: Install dependencies
2728
run: pnpm install
28-
29+
2930
- name: Build package
3031
run: pnpm run build
3132

3233
- name: Run tests
33-
run: pnpm run test
34+
run: pnpm run test

0 commit comments

Comments
 (0)