fix: improve ES6 bundling and support #196
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: ES5 support check | |
on: | |
- pull_request | |
jobs: | |
ssr: | |
name: Cypress | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8.x.x | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
cache: 'pnpm' | |
- run: pnpm install && pnpm build | |
- name: Run es-check to check if our ie11 bundle is ES5 compatible | |
run: npx [email protected] es5 dist/array.full.es5.js | |
- name: Run es-check to check if our main bundle is ES6 compatible | |
run: npx [email protected] es6 dist/array.full.js |