Skip to content

Commit

Permalink
test: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
KingBael09 committed Aug 25, 2023
1 parent 7ceb980 commit d370c83
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 23 deletions.
28 changes: 27 additions & 1 deletion .github/workflows/lint-typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3

# ? https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data

- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 8.6.12

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"

- name: Run Lint
run: pnpm run lint

Expand All @@ -56,5 +69,18 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3

- name: Run Typecheck
# ? https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data

- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 8.6.12

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"

- name: Run Lint
run: pnpm run typecheck
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"@tailwindcss/line-clamp": "^0.4.4",
"@tailwindcss/typography": "^0.5.9",
"@types/eslint": "^8.44.2",
"@types/node": "20.5.4",
"@types/node": "20.5.6",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"@typescript-eslint/eslint-plugin": "^6.4.1",
Expand Down
42 changes: 21 additions & 21 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d370c83

Please sign in to comment.