We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbd2418 commit f58d954Copy full SHA for f58d954
1 file changed
.github/workflows/ci.yaml
@@ -0,0 +1,36 @@
1
+name: Node CI
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
7
+jobs:
8
+ pack:
9
+ if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: ⬇️ Check out code
14
+ uses: actions/checkout@v4
15
16
+ - name: 🟢 Enable Corepack
17
+ run: corepack enable
18
19
+ - name: 🟢 Set up Node 20
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: 20.x
23
+ cache: yarn
24
25
+ - name: 📦 Install deps, build, pack
26
+ run: |
27
+ yarn install --frozen-lockfile
28
+ yarn package
29
+ env:
30
+ CI: true
31
32
+ - name: 📤 Upload package artifact
33
+ uses: actions/upload-artifact@v4
34
35
+ name: imagekit-editor-package
36
+ path: builds/imagekit-editor-*.tgz
0 commit comments