From e9a3600f08b18f56b7dfa9f104a7b12d6e61ef7c Mon Sep 17 00:00:00 2001 From: Shwetha Radhakrishna Date: Tue, 1 Feb 2022 09:09:49 -0600 Subject: [PATCH] test: set the right version for tests (#1330) * test: set the right version for tests --- .github/workflows/test-and-deploy.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 2f3d6a5f..1c6c882d 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -17,7 +17,9 @@ jobs: timeout-minutes: 20 strategy: matrix: - node: [ 6, 7, 8, 10, lts/* ] + node: [ 6, 7, 8, 10, lts ] + env: + version: ${{ matrix.node }} steps: - name: Checkout sendgrid-nodejs uses: actions/checkout@v2 @@ -28,12 +30,6 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_AUTH_TOKEN }} - - name: Set up Node - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node }} - - - run: npm install - name: Run Tests run: make test-docker