Skip to content

Commit ebb0efc

Browse files
committed
Create ci.yml
1 parent 5541e99 commit ebb0efc

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
[push, pull_request]
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v2
13+
with:
14+
submodules: true
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: '20'
20+
21+
- name: Install pnpm
22+
run: npm install -g pnpm
23+
24+
- name: Install and build plugins
25+
run: |
26+
mkdir -p dist/plugins
27+
cd plugins
28+
for d in */ ; do
29+
cd "$d"
30+
pnpm install
31+
pnpm run dev
32+
mv . ../../dist/plugins/"$d"
33+
cd ..
34+
done

0 commit comments

Comments
 (0)