Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 1efe2da

Browse files
authored
Add ruling tests to handle eslint 8 and 9 (#468)
1 parent 33869d1 commit 1efe2da

File tree

8 files changed

+552
-48
lines changed

8 files changed

+552
-48
lines changed

.cirrus.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ publish_task:
6161
publish_script:
6262
- ./scripts/publish.sh
6363

64-
qa_task:
64+
qa_eslint8_task:
6565
depends_on:
6666
- build
6767
eks_container:
@@ -87,6 +87,34 @@ qa_task:
8787
- jfrog rt npm-config --repo-resolve npm --repo-deploy sonarsource-npm-public-qa
8888
- git submodule update --init --depth 1 -r
8989
- jfrog rt npm-ci
90+
- npm install eslint-ruling@npm:[email protected]
91+
- npm run build
92+
- npm run ruling
93+
94+
qa_eslint9_task:
95+
depends_on:
96+
- build
97+
eks_container:
98+
matrix:
99+
- docker_arguments:
100+
NODE_VERSION: 18
101+
CIRRUS_AWS_ACCOUNT: ${CIRRUS_AWS_ACCOUNT}
102+
- docker_arguments:
103+
NODE_VERSION: 20
104+
CIRRUS_AWS_ACCOUNT: ${CIRRUS_AWS_ACCOUNT}
105+
<<: *CONTAINER_DEFINITION
106+
cpu: 3
107+
memory: 8G
108+
env:
109+
SONARSOURCE_QA: true
110+
node_version_script:
111+
- node --version
112+
script:
113+
- jfrog config add repox --url $ARTIFACTORY_URL --access-token $ARTIFACTORY_DEPLOY_ACCESS_TOKEN
114+
- jfrog rt npm-config --repo-resolve npm --repo-deploy sonarsource-npm-public-qa
115+
- git submodule update --init --depth 1 -r
116+
- jfrog rt npm-ci
117+
- npm install eslint-ruling@npm:[email protected]
90118
- npm run build
91119
- npm run ruling
92120

0 commit comments

Comments
 (0)