Skip to content

Commit a25aae4

Browse files
committed
chore(workflows): Add lint step to CI and publish
1 parent 63b7d03 commit a25aae4

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
- name: 📦 Install deps, build, pack
2626
run: |
2727
yarn install --frozen-lockfile
28+
yarn lint
2829
yarn package
2930
env:
3031
CI: true
@@ -33,4 +34,4 @@ jobs:
3334
uses: actions/upload-artifact@v4
3435
with:
3536
name: imagekit-editor-package
36-
path: builds/imagekit-editor-*.tgz
37+
path: builds/imagekit-editor-*.tgz

.github/workflows/node-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@ jobs:
2222
with:
2323
node-version: 20.x
2424
cache: yarn
25-
registry-url: 'https://registry.npmjs.org'
25+
registry-url: "https://registry.npmjs.org"
2626

2727
- name: Build and Publish
2828
run: |
2929
yarn install --frozen-lockfile
3030
31+
yarn lint
32+
3133
yarn build
3234
3335
npm whoami
@@ -48,4 +50,4 @@ jobs:
4850
4951
env:
5052
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
51-
CI: true
53+
CI: true

0 commit comments

Comments
 (0)