Skip to content

Commit

Permalink
chore: update actions to use tsx and use newer versions for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nik-rev committed Sep 30, 2024
1 parent 57565b9 commit 4e955b6
Show file tree
Hide file tree
Showing 4 changed files with 310 additions and 31 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/ci.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '18'

- uses: pnpm/action-setup@v4
with:
version: 9
run_install: true

run: pnpm test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"keywords": [],
"main": "index.js",
"scripts": {
"test": "node test.js",
"test": "tsx index.test.js",
"prepare": "tsc"
},
"remarkConfig": {},
Expand All @@ -27,6 +27,7 @@
"rehype-stringify": "^10.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.1",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"unified": "^11.0.5"
}
Expand Down
Loading

0 comments on commit 4e955b6

Please sign in to comment.