-
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.
Merge pull request #1 from ageddesi/v2.0.0
v2.0.0 candidate
- Loading branch information
Showing
7 changed files
with
4,360 additions
and
2,662 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,29 @@ | ||
# Pull request template | ||
|
||
***REMOVE THIS - START*** | ||
|
||
1. Title should be something descriptive about what you're changes do. (It will default to whatever you put as your commit message.) | ||
2. Make sure to point to `dev` branch; | ||
3. Mark your pull request as `DRAFT` until it will be ready to review; | ||
4. Before marking a PR ready to review, make sure that: | ||
|
||
a. You have done your changes in a separate branch. Branches MUST have descriptive names that start with either the `fix/` or `feature/` prefixes. Good examples are: `fix/signin-issue` or `feature/issue-templates`. | ||
|
||
b. `npm test` doesn't throw any error. | ||
|
||
5. Describe your changes, link to the issue and add images if relevant under each #TODO next comments; | ||
6. MAKE SURE TO CLEAN ALL THIS 6 POINTS BEFORE SUBMITTING | ||
|
||
***REMOVE THIS - END*** | ||
|
||
## Describe your changes | ||
TODO: Add a short summary of your changes and impact: | ||
|
||
## Link to issue this resolves | ||
TODO: Add your issue no. or link to the issue. Example: | ||
Fixes: #100 | ||
|
||
## Screenshot of changes(if relevant) | ||
TODO: Add images: | ||
|
||
🙏🙏 !! THANK YOU !! 🚀🚀 |
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,32 @@ | ||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
|
||
name: Create NPM Package | ||
|
||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
registry-url: https://npm.pkg.github.com/ | ||
- name: Install NPM dependencies | ||
run: npm install | ||
- name: Run tests | ||
run: npm run test | ||
- name: Create NPM package | ||
run: npm run build | ||
- name: Publish NPM package | ||
run: npm publish --registry https://npm.pkg.github.com/ --verbose | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,21 @@ | ||
name: Test Library | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
- name: Set up node | ||
uses: actions/setup-node@v3 | ||
- name: Install NPM dependencies | ||
run: npm install | ||
- name: Run tests | ||
run: npm run test | ||
- name: Clean up files | ||
run: npm run clean-up | ||
- name: Attempt dry run build of package | ||
run: npm pack --dry-run |
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.