-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 🎸 abolish branch execution BREAKING CHANGE: Abolish branch execution * ci: remove husky pre-commit hook for ncc * ci: Add ncc build assets * ci: Add commit step to add build assets * ci: Fix action test job * ci: Dump * ci: Fix action test job * ci: Fix action test job * ci: Fix action test job * ci: Revert action test job * chore: Add docker image for testing * test: Add Integration testing * ci: Add matrix to test job * docs: Add Maintainer Notes * docs: Fix heading * ci: Split test workflow * chore: Remove .gitattributes * ci: Fix cache step * ci: Add RELEASE_TYPE_LIST * ci: Add -r option to fix SC2162 * ci: Add build assets steps * ci: Fix CHANGELOG diff * ci: Add build assets * chore(release): 1.1.0-0 * ci: Remove build assets Co-authored-by: Shohei Ueda <[email protected]>
- Loading branch information
1 parent
bbf6904
commit a30a7c8
Showing
14 changed files
with
237 additions
and
5,389 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,7 @@ | ||
.* | ||
|
||
!.eslintrc.json | ||
!.prettierrc.json | ||
|
||
coverage | ||
node_modules |
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
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
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
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
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,11 @@ | ||
FROM node:12-slim | ||
|
||
WORKDIR /repo | ||
|
||
RUN apt-get update && \ | ||
apt-get -y install --no-install-recommends \ | ||
git \ | ||
bash && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
CMD [ "bash" ] |
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 @@ | ||
import * as main from '../src/main'; | ||
|
||
jest.setTimeout(20000); | ||
|
||
beforeEach(() => { | ||
jest.resetModules(); | ||
}); | ||
|
||
afterEach(() => { | ||
delete process.env['INPUT_MDBOOK-VERSION']; | ||
}); | ||
|
||
describe('run()', () => { | ||
test('Integration testing (custom version)', async () => { | ||
const testVersion: string = '0.3.4'; | ||
process.env['INPUT_MDBOOK-VERSION'] = testVersion; | ||
const result: main.actionResult = await main.run(); | ||
expect(result.output).toMatch(`mdbook v${testVersion}`); | ||
}); | ||
|
||
test('Integration testing (latest version)', async () => { | ||
const testVersion: string = 'latest'; | ||
process.env['INPUT_MDBOOK-VERSION'] = testVersion; | ||
const result: main.actionResult = await main.run(); | ||
expect(result.output).toMatch(/mdbook v/); | ||
}); | ||
}); |
Oops, something went wrong.