Skip to content

feat: add last.fm tags first and fetch from artists only after #10

feat: add last.fm tags first and fetch from artists only after

feat: add last.fm tags first and fetch from artists only after #10

Workflow file for this run

name: "Make bundle"
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: main
path: main
- uses: actions/checkout@v4
with:
ref: build
path: build
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
cache-dependency-path: main/pnpm-lock.yaml
- name: Bundle and push
run: |
cd main
pnpm install
pnpm build
cp ./dist/spotifyGenres.js ../build
cd ../build
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "ci: upload new bundle"
git push
- name: Purge jsDelivr cache
run: curl https://purge.jsdelivr.net/gh/Vexcited/better-spotify-genres@build/spotifyGenres.js