Skip to content

Merge pull request #38 from Open-SL/feature/migrate-vite #31

Merge pull request #38 from Open-SL/feature/migrate-vite

Merge pull request #38 from Open-SL/feature/migrate-vite #31

Workflow file for this run

name: Deployment
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: master
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "22"
- name: Install dependencies, test and build
run: |
corepack enable
yarn install
yarn test
yarn run build
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./build