Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: http resolution #7

Merged
merged 24 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Node.js CI
name: CI

on:
push:
Expand All @@ -12,6 +12,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: canary
- run: deno fmt --check
- run: deno lint

Expand All @@ -25,11 +27,18 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: canary
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- run: npm i
- run: npm run build --if-present
- name: Build fixture
working-directory: ./tests/fixture
run: npx vite build --debug

- run: npm test
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm publish --provenance --access public
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9 changes: 9 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"unstable": ["sloppy-imports"],
"lint": {
"rules": {
"exclude": ["no-sloppy-imports"]
},
"exclude": ["tests/fixture/dist/", "dist/"]
}
}
Loading