tests #121
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: | |
pull_request: | |
push: | |
branches: | |
- master | |
- '*.x' | |
schedule: | |
- cron: '0 0 * * 0' # Once in a week run tests to check assertions against updated(if any) ably-js package. | |
jobs: | |
tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm install | |
- name: ESLint | |
run: npm run lint | |
- name: Execute tests | |
run: npm test | |
- name: Run build | |
run: npm run build |