Skip to content

Commit

Permalink
SNOW-896752 - Add node20 on Ubuntu to github action tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pmotacki committed Sep 29, 2023
1 parent ad1fc9c commit 75e0877
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Build
shell: bash
env:
WHITESOURCE_API_KEY: ${{ secrets.WHITESOURCE_API_KEY }}
run: ./ci/build.sh
- name: Upload Build Artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: artifacts
path: artifacts
Expand All @@ -51,15 +51,15 @@ jobs:
cloud: [ 'AWS', 'AZURE', 'GCP' ]
nodeVersion: [ '14.x', '16.x', '18.x', '20.x']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.nodeVersion }}
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Download Build Artifacts
uses: actions/download-artifact@v1
uses: actions/download-artifact@v3
with:
name: artifacts
- name: Install Homebrew Bash
Expand Down Expand Up @@ -88,16 +88,16 @@ jobs:
cloud: [ 'AWS', 'AZURE', 'GCP' ]
nodeVersion: [ '14.x', '16.x', '18.x', '20.x']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.nodeVersion }}
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: '3.7'
architecture: 'x64'
- name: Download Build Artifacts
uses: actions/download-artifact@v1
uses: actions/download-artifact@v3
with:
name: artifacts
- name: Tests
Expand All @@ -117,9 +117,9 @@ jobs:
image: [ 'nodejs-centos7-node14', 'nodejs-centos7-fips']
cloud: [ 'AWS', 'AZURE', 'GCP' ]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Download Build Artifacts
uses: actions/download-artifact@v1
uses: actions/download-artifact@v3
with:
name: artifacts
- name: Tests
Expand All @@ -139,17 +139,15 @@ jobs:
cloud: [ 'AWS', 'AZURE', 'GCP' ]
nodeVersion: ['18.x', '20.x']
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Download Build Artifacts
uses: actions/download-artifact@v1
uses: actions/download-artifact@v3
with:
name: artifacts
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Tests
shell: bash
env:
Expand Down

0 comments on commit 75e0877

Please sign in to comment.