Fixed web-worker
resolution to 1.2.0
for checking the ESM bundle
#276
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: Examples | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
deploy_to_ghpages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Install deps and build Vite example | |
run: | | |
cd examples/vite-react-app | |
yarn | |
yarn build | |
env: | |
CI: "" | |
BASE_URL: "/vocdoni-sdk" | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
folder: examples/vite-react-app/dist |