Skip to content

依存ライブラリのバージョンを上げる #252

依存ライブラリのバージョンを上げる

依存ライブラリのバージョンを上げる #252

Workflow file for this run

name: GitHub Pages Deploy
on:
push:
branches: ["develop"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.12.0
- run: zig version
- run: rustup update stable && rustup target add wasm32-unknown-unknown
- uses: actions/setup-node@v4
with:
node-version: "18"
- uses: pnpm/action-setup@v4
- run: pnpm install
- name: Build
run: pnpm build
- name: Build examples
run: pnpm build
working-directory: examples
- name: Upload files
uses: actions/upload-pages-artifact@v3
with:
path: ./examples/dist
- name: Slack Notification
if: failure()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: media-processors
SLACK_COLOR: danger
SLACK_TITLE: Failure test
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4