Skip to content

Commit

Permalink
fix github actions error
Browse files Browse the repository at this point in the history
  • Loading branch information
teitei-tk committed May 9, 2024
1 parent 7c1cb24 commit d3dfe11
Show file tree
Hide file tree
Showing 5 changed files with 906 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
cache: "yarn"

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- name: Cache node_modules
uses: actions/cache@v4
Expand All @@ -27,7 +28,7 @@ jobs:
${{ runner.os }}-yarn-
- name: Install Dependencies
run: yarn install
run: yarn install --immutable

- name: format
run: yarn format
Expand Down
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,10 @@ out/
# Local Netlify folder
.netlify

.yarn/
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
894 changes: 894 additions & 0 deletions .yarn/releases/yarn-4.2.2.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"enabled": true
},
"files": {
"ignore": ["node_modules/**/*", ".next/**/*"]
"ignore": ["node_modules/**/*", ".next/**/*", ".yarn/**/*"]
},
"linter": {
"enabled": true,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"incremental": true,
"types": ["vitest/globals"]
},
"exclude": ["node_modules"],
"exclude": ["node_modules", ".next", ".yarn"],
"include": ["next-env.d.ts", "./src/**/*", "./types/**/*", "__tests__/**/*"]
}

0 comments on commit d3dfe11

Please sign in to comment.