Skip to content

Commit

Permalink
misc cleanup and test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Jun 3, 2024
1 parent 3ce8108 commit a1761bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [main]
workflow_dispatch: {}

name: build
name: Build and Test

jobs:
host_builds:
Expand Down
10 changes: 8 additions & 2 deletions test/release.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@ const REQUIRED_FILES = [
describe(`Release ${packFile}`, function () {
this.timeout(10000);

beforeEach(function() {

Check failure on line 27 in test/release.test.ts

View workflow job for this annotation

GitHub Actions / typescript

Insert `·`
if (process.arch !== 'x64') {
this.skip();
}
});

let tarFileList;
before(() => {
beforeEach(() => {
expect(fs.existsSync(packFile)).to.equal(false);
cp.execSync('npm pack', { stdio: 'ignore' });
tarFileList = [];
Expand All @@ -38,7 +44,7 @@ describe(`Release ${packFile}`, function () {
});
});

after(() => {
afterEach(() => {
fs.unlinkSync(packFile);
});

Expand Down

0 comments on commit a1761bd

Please sign in to comment.