Skip to content

Commit c9772a9

Browse files
committed
Update lint and types workflows
1 parent 838da7c commit c9772a9

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

.github/workflows/lint.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ concurrency:
2020
jobs:
2121
linting:
2222
name: 'Linting'
23-
uses: SocketDev/workflows/.github/workflows/reusable-base.yml@master
24-
with:
25-
no-lockfile: true
26-
npm-test-script: 'check-ci'
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
26+
- uses: SocketDev/socket-cli/.github/actions/setup@35c25823d5247a8cd15628ef2d2062cd1c199544
27+
with:
28+
node-version: '22'
29+
30+
- name: Run linting
31+
run: pnpm run check-ci

.github/workflows/types.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ permissions:
1515

1616
jobs:
1717
type-check:
18-
uses: SocketDev/workflows/.github/workflows/type-check.yml@master
19-
with:
20-
no-lockfile: true
21-
ts-versions: '5.9'
22-
ts-libs: 'esnext'
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21+
- uses: SocketDev/socket-cli/.github/actions/setup@35c25823d5247a8cd15628ef2d2062cd1c199544
22+
with:
23+
node-version: '22'
24+
25+
- name: Run type check
26+
run: pnpm run check:tsc

0 commit comments

Comments
 (0)