Skip to content

Update dependency vite-plugin-pwa to ^0.21.0 #420

Update dependency vite-plugin-pwa to ^0.21.0

Update dependency vite-plugin-pwa to ^0.21.0 #420

Workflow file for this run

name: Build
on:
push:
branches: ['feature/*']
pull_request:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Actions/checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Actions/setup-node
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: '22.x'
- name: Install dependencies
run: npm ci
- name: Create env file
run: |
touch .env
echo VITE_LASTFM_APIKEY=${{ secrets.LASTFM_APIKEY }} >> .env
echo VITE_LASTFM_SECRET=${{ secrets.LASTFM_SECRET }} >> .env
echo VITE_FANART_APIKEY=${{ secrets.FANART_APIKEY }} >> .env
- name: NPM build
run: npm run build --if-present