Skip to content

Commit 74c1738

Browse files
authored
Merge pull request #475 from devmount/chores/add-linter
Add linter: Oxlint
2 parents 8cce4cc + 7133583 commit 74c1738

File tree

5 files changed

+488
-328
lines changed

5 files changed

+488
-328
lines changed

.github/workflows/nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
build:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- name: Use Node.js 20
20-
uses: actions/setup-node@v1
20+
uses: actions/setup-node@v4
2121
with:
22-
node-version: 20.x
22+
node-version: 20
2323
- name: Get Timestamp
2424
id: timestamp
2525
run: |
@@ -58,7 +58,7 @@ jobs:
5858
name: third-stats-nightly
5959
path: ${{ steps.file.outputs.name }}
6060
- name: Push add-on to CDN
61-
uses: burnett01/rsync-deployments@5.2
61+
uses: burnett01/rsync-deployments@7.0.2
6262
with:
6363
switches: -avzr --delete
6464
path: ${{ steps.file.outputs.name }}

.github/workflows/validate.yml

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

0 commit comments

Comments
 (0)