script tweak #140
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: Tests | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- run: npm install -g eslint | |
- run: eslint app tests/*.mjs | |
- run: sudo snap install yq | |
- run: ./build.sh | |
- run: sudo dpkg -i ./dist/linux/x86_64/vdhcoapp-linux-x86_64.deb | |
- run: ./tests/test.mjs /opt/vdhcoapp/vdhcoapp --with-network |