Skip to content

Commit

Permalink
added tsx, removed pnpm version from actions in support of package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
heyAyushh committed Oct 25, 2024
1 parent b10332a commit 6560bc2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 10 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/code:test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- cron: "0 0 * * *" # Run daily at midnight UTC

jobs:
test:
code-import-test:
runs-on: ubuntu-latest

strategy:
Expand All @@ -32,8 +32,6 @@ jobs:

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 9

- run: cd code

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/contentlayer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Vercel CLI and pnpm
run: npm install --global vercel@latest
- name: Pull Vercel Environment Information
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"runner": "npx ts-node -r tsconfig-paths/register",
"contentlayer:build": "npx contentlayer2 build --clearCache",
"code-import": "npx esrun coder.ts",
"code-import": "npx tsx coder.ts",
"dev": "pnpm code-import && pnpm contentlayer:build && concurrently -p \"[{name}]\" -n \"code import,next dev\" -c \"bgBlue.bold,bgGreen.bold\" \"pnpm code-import --watch\" \"next dev -p 3001\"",
"build": "pnpm code-import && pnpm prettier:i18n && pnpm contentlayer:build && next build",
"start": "next start -p 3001",
Expand Down Expand Up @@ -56,6 +56,7 @@
"remark-parse": "^11.0.0",
"remark-stringify": "^11.0.0",
"strip-indent": "^4.0.0",
"tsx": "^4.19.1",
"turbo": "^2.2.3",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
Expand Down
3 changes: 3 additions & 0 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 6560bc2

Please sign in to comment.