Skip to content

Bump vite from 3.1.8 to 4.5.2 #212

Bump vite from 3.1.8 to 4.5.2

Bump vite from 3.1.8 to 4.5.2 #212

Workflow file for this run

name: Main workflow
on:
- push
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20"
- run: npm ci
- run: npm run validate
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20"
- run: npm ci --production
- run: npm run build
- uses: actions/upload-artifact@v3
with:
name: artifact-dist
path: dist
deploy:
needs: [validate, build]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: artifact-dist
path: dist
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v2.1
with:
publish-dir: dist
production-branch: main
enable-pull-request-comment: false
enable-commit-comment: false
overwrites-pull-request-comment: false
deploy-message: Deploy from GitHub Actions
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1