Update dependencies. #121
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NodeJS with Vite | |
on: | |
push: | |
branches: ['master'] | |
pull_request: | |
branches: ['master'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- name: Checkout ✅ | |
uses: actions/checkout@v4.1.7 | |
- name: Use Node.js ${{ matrix.node-version }} ⚡ | |
uses: actions/setup-node@v4.0.3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Build 🔧 | |
run: | | |
pnpm install | |
pnpm run build:docs | |
- name: Deploy to gh-pages 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4.6.3 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs # The folder the action should deploy. |