diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 7941c58c8..7db1434e7 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -13,35 +13,22 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [22.x] package: - - cli-hooks - - cli-test - logger - - oauth - - rtm-api - - socket-mode - - types - - web-api - - webhook - include: - - node-version: 22.x - # npm 10.8, which comes w/ node 22, seems to cause issues when running npm i - npm: 10.7.0 steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - if: ${{ matrix.npm }} - run: npm install -g npm@${{ matrix.npm }} - name: Get Development Dependencies run: npm i - name: Build and Run Tests in Each Package working-directory: packages/${{ matrix.package }} run: | - npm install || npm list + npm --version + npm install # depending on which package we are testing, also npm link up other dependent packages case "$PWD" in */webhook) pushd ../types && npm i && popd && npm link ../types;; diff --git a/package.json b/package.json index d56b46b18..953ae3201 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "node-slack-sdk", "devDependencies": { - "eslint": "^7.32.0", - "eslint-plugin-jsdoc": "^30.6.1" + "eslint": "^8.47.0", + "eslint-plugin-jsdoc": "^46.5.0" } }