Monkey-patch document.hidden
and window.requestAnimationFrame
#22
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: Build | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: npm | |
- name: Install | |
run: | | |
npm install | |
- name: Build | |
run: | | |
npm run build | |
- name: Test out the action | |
uses: ./ # Uses an action in the root directory | |
id: testprerendering | |
with: | |
website_root: 'test/example-app' |