Skip to content

Commit b3c1224

Browse files
Merge pull request #158 from contentstack/development
DX | 06-02-2025 | Release
2 parents 07fa16e + ddc113d commit b3c1224

File tree

6 files changed

+2968
-1178
lines changed

6 files changed

+2968
-1178
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"rules": {
77
"unicorn/prefer-module": "off",
88
"unicorn/no-abusive-eslint-disable": "off",
9-
"@typescript-eslint/no-use-before-define": "off"
9+
"@typescript-eslint/no-use-before-define": "off",
10+
"node/no-missing-import": "off"
1011
}
1112
}

.github/workflows/node.js.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,12 @@ jobs:
2525
node-version: ${{ matrix.node-version }}
2626
- run: npm ci
2727
- run: npm run build --if-present
28-
# - run: npm test
28+
- run: npm i -g @contentstack/cli
29+
- run: csdx config:set:region ${{secrets.REGION}}
30+
- run: csdx auth:tokens:add -a ${{ secrets.TOKEN_ALIAS }} --delivery -k ${{ secrets.APIKEY }} --token ${{ secrets.DELIVERYKEY }} -e ${{ secrets.ENVIRONMENT }}
31+
- run: npm run prepack
32+
- run: csdx plugins:link
33+
- run: npm test
34+
env:
35+
TOKEN_ALIAS: ${{ secrets.TOKEN_ALIAS }}
36+
- run: csdx plugins:unlink

0 commit comments

Comments
 (0)