-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05ed990
commit 1e6eb24
Showing
4 changed files
with
3,879 additions
and
3,590 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 |
---|---|---|
|
@@ -7,15 +7,35 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
- name: Setup PNPM | ||
uses: pnpm/[email protected] | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: yarn | ||
run_install: false | ||
standalone: true | ||
package_json_file: blog/package.json | ||
version: 8 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 19 | ||
cache: pnpm | ||
|
||
- name: Install | ||
run: pnpm install | ||
|
||
- name: Build | ||
run: yarn build | ||
run: pnpm build | ||
|
||
- name: Version | ||
run: yarn version --new-version "${GITHUB_REF:11}" --no-git-tag-version | ||
- run: yarn pub | ||
run: pnpm version --new-version "${GITHUB_REF:11}" --allow-same-version --no-git-tag-version | ||
|
||
- run: pnpm pub --tag next | ||
if: ${{ contains(github.ref, '-') }} | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- run: pnpm pub | ||
if: ${{ !contains(github.ref, '-') }} | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
"types": "lib/index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/lvkdotsh/scyllo.git" | ||
"url": "https://github.com/v3xlabs/scyllo.git" | ||
}, | ||
"author": "Lucemans <[email protected]>", | ||
"files": [ | ||
|
@@ -37,10 +37,10 @@ | |
"typescript-eslint": "^0.0.1-alpha.0" | ||
}, | ||
"scripts": { | ||
"test": "yarn build && jest --verbose", | ||
"test": "pnpm build && jest --verbose", | ||
"build": "tsc", | ||
"lint": "eslint -c .eslintrc.json --ext .ts ./src", | ||
"pub": "yarn build && yarn publish --access public" | ||
"pub": "pnpm build && pnpm publish --access public --no-git-checks" | ||
}, | ||
"dependencies": { | ||
"@lvksh/logger": "^1.6.3", | ||
|
Oops, something went wrong.