Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: set the right version for tests #1330

Merged
merged 3 commits into from
Feb 1, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
strategy:
matrix:
node: [ 6, 7, 8, 10, lts/* ]
env:
version: ${{ matrix.node }}
steps:
- name: Checkout sendgrid-nodejs
uses: actions/checkout@v2
Expand All @@ -33,6 +35,10 @@ jobs:
with:
node-version: ${{ matrix.node }}
shwetha-manvinkurke marked this conversation as resolved.
Show resolved Hide resolved

- name: Reset env vars
if: env.version == 'lts/*'
shwetha-manvinkurke marked this conversation as resolved.
Show resolved Hide resolved
run: echo "version=lts" >> "$GITHUB_ENV"

- run: npm install
shwetha-manvinkurke marked this conversation as resolved.
Show resolved Hide resolved
- name: Run Tests
run: make test-docker
Expand Down