save #127
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: "CI-Client" | |
on: [push, pull_request] | |
jobs: | |
client: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
env: | |
INSTALL_NODE_MODULES: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup Environment | |
run: ./scripts/ci-install.sh | |
- name: Start Services | |
run: ./scripts/ci-start-services.sh | |
# avoid file watch limit error | |
- run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | |
- run: npm list || true | |
- run: npm run lint | |
- run: ls | |
- run: pwd | |
- run: npm run test | |