Skip to content

refactor(surveys): Use Preact instead of vanilla JS #1951

refactor(surveys): Use Preact instead of vanilla JS

refactor(surveys): Use Preact instead of vanilla JS #1951

Workflow file for this run

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')"