From 951daf57e28fac1c3f6ba2e8f2ace7b0bc8d0b47 Mon Sep 17 00:00:00 2001 From: Shubham Tiwari Date: Tue, 26 Dec 2023 18:31:32 +0530 Subject: [PATCH 1/2] chore: add lts version --- .github/workflows/test-and-deploy.yml | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index ad07a0db9a..760cac0d8f 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -17,7 +17,7 @@ jobs: timeout-minutes: 20 strategy: matrix: - node: [ 14, 16, 18 ] + node: [ 14, 16, 18, lts/* ] steps: - name: Checkout twilio-node uses: actions/checkout@v3 @@ -49,7 +49,7 @@ jobs: npm run test - name: SonarCloud Scan - if: ${{ (github.event_name == 'pull_request' || github.ref_type == 'branch') && matrix.node == '18' && !github.event.pull_request.head.repo.fork }} + if: ${{ (github.event_name == 'pull_request' || github.ref_type == 'branch') && matrix.node == 'lts/*' && !github.event.pull_request.head.repo.fork }} uses: SonarSource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any @@ -69,7 +69,7 @@ jobs: - name: Set up Node uses: actions/setup-node@v3 with: - node-version: 18 + node-version: lts/* - run: npm install diff --git a/package.json b/package.json index 0a52e52fd4..ea49d74131 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/twilio/twilio-node.git" }, "dependencies": { - "axios": "^1.6.0", + "axios": "1.6.0", "dayjs": "^1.11.9", "https-proxy-agent": "^5.0.0", "jsonwebtoken": "^9.0.0", From e19ee6e2c579026556524af71835e95dd8f9fcbb Mon Sep 17 00:00:00 2001 From: Shubham Date: Tue, 26 Dec 2023 18:36:10 +0530 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ea49d74131..0a52e52fd4 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/twilio/twilio-node.git" }, "dependencies": { - "axios": "1.6.0", + "axios": "^1.6.0", "dayjs": "^1.11.9", "https-proxy-agent": "^5.0.0", "jsonwebtoken": "^9.0.0",