forked from schulze/bam
		
	Update .gitea/workflows/lint.yml
This commit is contained in:
		@@ -4,7 +4,7 @@ on:
 | 
			
		||||
  pull_request:
 | 
			
		||||
  push:
 | 
			
		||||
    branches:
 | 
			
		||||
      - "**" # matches every branch
 | 
			
		||||
      - '**' # matches every branch
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  eslint:
 | 
			
		||||
@@ -12,16 +12,17 @@ jobs:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
 | 
			
		||||
      - name: Checkout code
 | 
			
		||||
        uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
 | 
			
		||||
 | 
			
		||||
      - uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
 | 
			
		||||
      - name: Setup Node.js
 | 
			
		||||
        uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: 20
 | 
			
		||||
          cache: "npm"
 | 
			
		||||
      - run: npm i
 | 
			
		||||
      - uses: sibiraj-s/action-eslint@bcf41bb9abce43cdbad51ab9b3da2eddaa17eab3 # v3.0.1
 | 
			
		||||
        with:
 | 
			
		||||
          eslint-args: "--ignore-path=.gitignore --quiet"
 | 
			
		||||
          extensions: "js,jsx,ts,tsx"
 | 
			
		||||
          annotations: true
 | 
			
		||||
          all-files: true
 | 
			
		||||
          node-version: 22
 | 
			
		||||
          cache: 'npm'
 | 
			
		||||
 | 
			
		||||
      - name: Install dependencies
 | 
			
		||||
        run: npm ci
 | 
			
		||||
 | 
			
		||||
      - name: Run lint check
 | 
			
		||||
        run: npm run lint
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user