Skip to content

Commit c09db57

Browse files
committed
➕ Add validation workflow
1 parent bd6a4e1 commit c09db57

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/validate.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This workflow will make sure the code is linted and valid
2+
3+
name: Validate
4+
5+
concurrency:
6+
cancel-in-progress: true
7+
8+
on:
9+
push:
10+
branches:
11+
- '**'
12+
- '!main'
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
jobs:
17+
oxlint:
18+
name: Lint JS
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- run: npx --yes oxlint@1.9.0 --deny-warnings # change to the latest release

0 commit comments

Comments
 (0)