Skip to content

Commit

Permalink
[wip] Move the build process to Deno
Browse files Browse the repository at this point in the history
  • Loading branch information
irbull committed Oct 31, 2024
1 parent 020e15d commit 3d5abd7
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7,829 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,11 @@ jobs:
node-version: 18
registry-url: https://registry.npmjs.org/

- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 8

- name: Check fmt
run: deno fmt --check

- name: Install dependencies
run: pnpm i
run: deno install --allow-scripts=npm:[email protected]

- name: Test
run: pnpm test
run: deno task test
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"src"
],
"scripts": {
"postinstall": "cd test/fixtures/basics && npm install && cd ../dynimport && npm install",
"test": "deno test --allow-run --allow-env --allow-read --allow-net ./test/",
"fmt": "deno fmt"
},
Expand All @@ -38,7 +39,7 @@
"devDependencies": {
"@types/lodash": "^4.17.5",
"@types/node": "^20.11.5",
"astro": "^4.2.1",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"astro": "^4.2.1"
}
}
Loading

0 comments on commit 3d5abd7

Please sign in to comment.