Skip to content

Vite 5.0.2

Vite 5.0.2 #33

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
CI: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: yarn install --frozen-lockfile
- run: yarn run build
- uses: actions/upload-pages-artifact@v1
with:
path: ./dist
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v2
id: deployment
if: ${{ github.ref == 'refs/heads/master' }}