Skip to content

Commit 19ddc60

Browse files
committed
Add path check and update ubuntu and node versions in GitHub Actions workflow
1 parent a438f0a commit 19ddc60

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/lint.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
on: [push]
1+
on:
2+
push:
3+
paths:
4+
- 'typer.js'
25
jobs:
36
lint:
4-
runs-on: ubuntu-22.04
7+
runs-on: ubuntu-24.04
58
steps:
6-
- uses: actions/checkout@v3
7-
- uses: actions/setup-node@v3
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-node@v4
811
with:
9-
node-version: 18
12+
node-version: 22
1013
- name: Install semistandard
1114
run: npm i -g semistandard
1215
- name: Run semistandard

0 commit comments

Comments
 (0)