refactor(surveys): Use Preact instead of vanilla JS #1951
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: Server-side rendering and ES5 | |
on: | |
- pull_request | |
jobs: | |
ssr: | |
name: Cypress | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- run: yarn install && yarn build | |
- name: Run es-check to check if our bundle is ES5 compatible | |
run: npx [email protected] es5 dist/{array,module}.js | |
- name: Require module via node | |
run: cd dist; node -e "require('./module')" |