Create edge pseudo target element at mouse pointer instead of origin #184
Workflow file for this run
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: Build using vite and deploy to GitHub Pages when on main | |
on: | |
- push | |
# Configures premissions for the used GitHub Token that are required for Pages. | |
permissions: | |
contents: read # To get the source | |
pages: write # To deploy to pages | |
id-token: write # To verify deployment (done automatically by the official action) | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: npm | |
- name: Setup GitHub Pages | |
if: github.ref == 'refs/heads/main' | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm install | |
- name: Build project | |
run: npm run build | |
- name: Upload Pages artifact | |
if: github.ref == 'refs/heads/main' | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: "./dist/" | |
- name: Deploy to GitHub Pages | |
if: github.ref == 'refs/heads/main' | |
uses: actions/deploy-pages@v2 |