-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updating mocha package * Updating spacing, updating eslint, removing documentation, fixing lint issues * Updating * Use mocha globals * Fixing ESlint * Fixing ESlint * Updating Docs * Updating CodeQL * Updating style * Updating checkout action --------- Co-authored-by: Sean Thomas Burke <[email protected]>
- Loading branch information
1 parent
5c66722
commit 4fe44a2
Showing
24 changed files
with
3,883 additions
and
9,073 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,32 +15,32 @@ jobs: | |
outputs: | ||
nodeVersion: ${{ steps.bump_version.outputs.version }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js 20 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
- name: bump version | ||
id: bump_version | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
echo "::set-output name=version::$(echo $(node -p "require('./package.json').version.trim()"))" | ||
npm version patch | ||
git push | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js 20 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
- name: bump version | ||
id: bump_version | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
echo "::set-output name=version::$(echo $(node -p "require('./package.json').version.trim()"))" | ||
npm version patch | ||
git push | ||
release: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: draft release | ||
id: draft_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | ||
with: | ||
tag_name: ${{ needs.build.outputs.nodeVersion }} | ||
release_name: Release ${{ needs.build.outputs.nodeVersion }} | ||
body: | | ||
Releasing version ${{ needs.build.outputs.nodeVersion }} to NPM | ||
draft: true | ||
prerelease: false | ||
- name: draft release | ||
id: draft_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | ||
with: | ||
tag_name: ${{ needs.build.outputs.nodeVersion }} | ||
release_name: Release ${{ needs.build.outputs.nodeVersion }} | ||
body: | | ||
Releasing version ${{ needs.build.outputs.nodeVersion }} to NPM | ||
draft: true | ||
prerelease: false |
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,5 @@ | ||
node_modules | ||
dist | ||
build | ||
coverage | ||
package-lock.json |
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,8 @@ | ||
module.exports = { | ||
semi: true, | ||
trailingComma: 'es5', | ||
singleQuote: true, | ||
printWidth: 80, | ||
tabWidth: 2, | ||
endOfLine: 'lf', | ||
}; |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
language: node_js | ||
node_js: | ||
- "14.15.0" | ||
- "12.13.0" | ||
- "10" | ||
- '14.15.0' | ||
- '12.13.0' | ||
- '10' | ||
after_success: | ||
- bash <(curl -s https://codecov.io/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
Oops, something went wrong.