File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-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 build
29+ yarn pack --out %s-%v.tgz
30+ env :
31+ CI : true
32+
33+ - name : 📤 Upload package artifact
34+ uses : actions/upload-artifact@v4
35+ with :
36+ name : strapi-plugin-imagekit-package
37+ path : strapi-plugin-imagekit-*.tgz
You can’t perform that action at this time.
0 commit comments