Bump ws from 7.5.9 to 7.5.10 in /nodejs #331
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the master branch | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
name: nodejstest | |
jobs: | |
test_jest: | |
name: run-jest | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 25 | |
strategy: | |
fail-fast: false | |
matrix: | |
node_version: | |
- 16 | |
- 18 | |
- 20 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
default: true | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: "11" # The JDK version to make available on the path. | |
- name: Download and Run Pravega standalone | |
run: | | |
wget https://github.com/pravega/pravega/releases/download/v0.13.0-rc1/pravega-0.13.0.tgz | |
tar -xzvf pravega-0.13.0.tgz | |
pravega-0.13.0/bin/pravega-standalone > pravega.log 2>&1 & | |
sleep 120 && echo "Started standalone" | |
tail pravega.log | |
- name: Set up Nodejs | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Install modules | |
working-directory: ./nodejs | |
run: npm i | |
- name: Test | |
working-directory: ./nodejs | |
run: npm test | |
- name: Upload Pravega standalone logs | |
uses: actions/upload-artifact@v2 | |
if: always() | |
with: | |
name: pravega-standalone-log | |
path: pravega.log | |
retention-days: 5 |