-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (30 loc) · 875 Bytes
/
ci.yaml
File metadata and controls
37 lines (30 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Node CI
on:
push:
pull_request:
jobs:
pack:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
steps:
- name: ⬇️ Check out code
uses: actions/checkout@v4
- name: 🟢 Enable Corepack
run: corepack enable
- name: 🟢 Set up Node 20
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn
- name: 📦 Install deps, build, pack
run: |
yarn install --frozen-lockfile
yarn lint
yarn package
env:
CI: true
- name: 📤 Upload package artifact
uses: actions/upload-artifact@v4
with:
name: imagekit-editor-package
path: builds/imagekit-editor-*.tgz