forked from isaacs/sax-js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: Ohkubo KOHEI <kuboon@trick-with.net> Co-authored-by: Maxim Mazurok <maxim@mazurok.com>
- Loading branch information
1 parent
3326ad3
commit 6eb538e
Showing
11 changed files
with
6,241 additions
and
2,247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Node.js & Deno CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 12 | ||
cache: 'npm' | ||
- uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: vx.x.x | ||
- run: npm ci | ||
- run: npm run build --if-present | ||
- run: npm test | ||
- run: deno test --allow-read deno-test/*.ts |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import {SAXParser} from '../src/sax.ts'; | ||
|
||
Deno.test({name: 'hello world #5', permissions: {read: true}}, async () => { | ||
const parser = new SAXParser(true, {}); | ||
const text = await Deno.readTextFile('deno-test/issue-ts-5.xml'); | ||
parser.write(text).close(); | ||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.