⬆️ update dependencies and add CI #31
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:browser' # npm run test && npm run build | |
timeout-minutes: 1 # prevent browser hang if test fails | |