⬆️ update dependencies and add CI #35
Workflow file for this run
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: 'test' | |
on: [pull_request, push] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ljharb/actions/node/install@main | |
name: 'nvm install lts/* && npm install' | |
- run: 'xvfb-run npm run test' | |
timeout-minutes: 1 # prevent browser hang if test fails | |
- run: 'npm run build' |