Skip to content

chore(example): upgrade @libwebp-wasm/gif2webp to latest version #12

chore(example): upgrade @libwebp-wasm/gif2webp to latest version

chore(example): upgrade @libwebp-wasm/gif2webp to latest version #12

name: Deploy To Github Pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
name: deploy
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.12.2
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Install and Build
run: |
sh ./scripts/deploy.sh
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
clean: true