Bump ws from 7.4.6 to 7.5.10 in /demo_clients/websocket_nodejs #196
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
name: Check | |
on: | |
pull_request: | |
branches: | |
- main | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Install modules | |
run: npm install | |
- name: Runs test | |
run: npm test | |
- name: Build typescript | |
run: npm run build | |
- name: Copy settings | |
run: | | |
cp ./creds.json.default ./dist/creds.json | |
cp ./pow_creds.json.default ./dist/pow_creds.json | |
cp ./settings.json.default ./dist/settings.json | |
cp ./token_settings.json.default ./dist/token_settings.json | |
cp ./user_settings.json.default ./dist/user_settings.json | |
cp ./package.json ./dist/package.json | |
- name: Zip Folder | |
run: zip -r proxy.zip dist/ -x dist/__test__\* | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dist | |
path: proxy.zip |