Add and use playwright for testing. #19
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: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup Node.js | |
uses: actions/setup-node@master | |
with: | |
node-version: 12.x | |
- name: npm install | |
run: npm install | |
- name: Run server | |
run: npm run serve | |
- name: Run example map tests | |
run: npm run test |