Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Update yarn, vite.

Update yarn, vite. #66

name: NodeJS with Vite
on:
push:
branches: ['master']
pull_request:
branches: ['master']
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout ✅
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} ⚡
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build 🔧
run: |
yarn install
yarn build-only
- name: Deploy to gh-pages 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.