test: first pass of ServiceWorker tests #734
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: Run Tests | |
on: | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: "[Setup] Install dependencies" | |
run: yarn | |
- name: "[Test] Run linters" | |
run: yarn lint | |
- name: "[Test] Run all jest tests" | |
run: yarn test |