Skip to content

Merge pull request #2 from Kahera/dependabot/npm_and_yarn/vite-4.5.3 #36

Merge pull request #2 from Kahera/dependabot/npm_and_yarn/vite-4.5.3

Merge pull request #2 from Kahera/dependabot/npm_and_yarn/vite-4.5.3 #36

Workflow file for this run

name: Release
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install dependencies and build
run: |
npm ci
npm run build
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: dist
deploy:
needs: build
runs-on: ubuntu-latest
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }} # Output from deploy step below
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2 # or the latest "vX.X.X" version tag for this action