ej oändlig loop när direktlänk till sång och fixad url till root page #278
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
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: ESLint | |
on: | |
push: | |
paths: | |
- '**.vue' | |
- '**.ts' | |
- '**.tsx' | |
- '**.js' | |
- '**.jsx' | |
- '**.json' | |
- '.eslintrc' | |
- '.editorconfig' | |
- '**/lint.yml' | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: 'npm' | |
- name: Install packages | |
run: npm ci | |
- name: Lint | |
run: npm run lint-check | |
- name: Strict lint | |
run: npm run lint-check-strict | |
# continue-on-error: true | |
if: ${{ github.ref == 'refs/heads/main' }} |