Skip to content

Commit 97a3d56

Browse files
authored
Update lint.yml
1 parent 87c7c9c commit 97a3d56

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

.github/workflows/lint.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,32 +17,18 @@ concurrency:
1717
jobs:
1818
lint:
1919
runs-on: ubuntu-latest
20-
timeout-minutes: 10
20+
timeout-minutes: 5
2121

22-
strategy:
23-
matrix:
24-
node-version: [20.x]
25-
26-
27-
- uses: actions/checkout@v4
22+
steps:
23+
- uses: actions/checkout@v6
2824
- uses: oven-sh/setup-bun@v2
29-
- uses: actions/setup-node@v6
30-
with:
31-
node-version: '20.x'
32-
registry-url: 'https://registry.npmjs.org'
3325

3426
- name: Get yarn cache directory path
3527
id: yarn-cache-dir-path
3628
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
3729

3830
- name: Install Dependency
39-
env:
40-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41-
NODE_OPTIONS: '--max_old_space_size=4096'
4231
run: bun install --frozen-lockfile
4332

4433
- name: Run lint
45-
env:
46-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47-
NODE_OPTIONS: '--max_old_space_size=4096'
4834
run: bun lint

0 commit comments

Comments
 (0)