Skip to content

Commit

Permalink
Update ci.yml (#281)
Browse files Browse the repository at this point in the history
* Update ci.yml

* Remove failing dependency

---------

Co-authored-by: Luis Moreno <[email protected]>
  • Loading branch information
morenol and morenol authored Nov 17, 2023
1 parent b4bfc66 commit 7c87f99
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 51 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ concurrency:
cancel-in-progress: true

on:
push:
branches:
- staging
- trying
merge_group:
pull_request:
branches: [ master ]
workflow_dispatch:
Expand Down
2 changes: 0 additions & 2 deletions examples/class-async/test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
const assert = require('assert');
const SegfaultHandler = require('segfault-handler');
SegfaultHandler.registerHandler('crash.log');

let addon = require('./dist');

Expand Down
2 changes: 0 additions & 2 deletions examples/class-wrapper/test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
const assert = require('assert');
const SegfaultHandler = require('segfault-handler');
SegfaultHandler.registerHandler('crash.log');

let addon = require('./dist');

Expand Down
33 changes: 1 addition & 32 deletions examples/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@
},
"author": "",
"license": "ISC",
"dependencies": {
"segfault-handler": "^1.3.0"
}
}
"dependencies": {}
}
3 changes: 0 additions & 3 deletions examples/promise/test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
const assert = require('assert');
let addon = require('./dist');
const SegfaultHandler = require('segfault-handler');
SegfaultHandler.registerHandler('crash.log');


addon.hello(5).then((val) => {
assert.equal(val, 15);
Expand Down
3 changes: 0 additions & 3 deletions examples/stream/test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
const assert = require('assert');
let addon = require('./dist');
const SegfaultHandler = require('segfault-handler');
SegfaultHandler.registerHandler('crash.log');


const EventEmitter = require('events').EventEmitter;
const emitter = new EventEmitter();
Expand Down
2 changes: 1 addition & 1 deletion nj-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mod win {
process::Command,
env::temp_dir,
io,
path::{PathBuf},
path::PathBuf,
fs::{read_dir, create_dir, DirEntry},
time::{SystemTime, UNIX_EPOCH},
};
Expand Down

0 comments on commit 7c87f99

Please sign in to comment.