File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 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+ with :
35+ name : imagekit-editor-package
36+ path : builds/imagekit-editor-*.tgz
You can’t perform that action at this time.
0 commit comments