-
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 #9 from samcyn/feat/issue-doc-update
Feat/issue doc update
- Loading branch information
Showing
3 changed files
with
69 additions
and
1 deletion.
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,37 @@ | ||
name: Publish to npm with Yarn | ||
|
||
on: | ||
push: | ||
branches: | ||
- release | ||
pull_request: | ||
branches: | ||
- release | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.9.0 | ||
|
||
- name: Install Yarn | ||
run: npm install -g [email protected] | ||
|
||
- name: Install dependencies with Yarn | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Run tests with Yarn | ||
run: yarn test | ||
|
||
- name: Publish to npm with Yarn | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/release' | ||
run: yarn publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_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,31 @@ | ||
name: Publish to npm with Yarn | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.9.0 | ||
|
||
- name: Install Yarn | ||
run: npm install -g [email protected] | ||
|
||
- name: Install dependencies with Yarn | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Run tests with Yarn | ||
run: yarn test |
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
"workspaces": [ | ||
"packages/*" | ||
], | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"author": "samcyn <[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
|