-
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
Showing
2 changed files
with
67 additions
and
49 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,21 @@ | ||
name: Node.js Package | ||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: yarn | ||
- name: Build | ||
run: yarn build | ||
- name: Version | ||
run: yarn version --new-version "${GITHUB_REF:11}" --no-git-tag-version | ||
- run: yarn pub | ||
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 |
---|---|---|
@@ -1,51 +1,48 @@ | ||
{ | ||
"name": "scyllo", | ||
"version": "0.9.3", | ||
"description": "The Cassandra/Scylla library you didn't want but got anyways.", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/lvkdotsh/scyllo.git" | ||
}, | ||
"author": "Lucemans <[email protected]>", | ||
"files": [ | ||
"lib" | ||
], | ||
"keywords": [ | ||
"cassandra", | ||
"scylla", | ||
"scyllo", | ||
"database", | ||
"client" | ||
], | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/jest": "^27.0.2", | ||
"@typescript-eslint/parser": "^5.2.0", | ||
"chalk": "^4.1.2", | ||
"eslint": "^8.1.0", | ||
"eslint-plugin-jest": "^25.2.2", | ||
"eslint-plugin-radar": "^0.2.1", | ||
"eslint-plugin-simple-import-sort": "^7.0.0", | ||
"eslint-plugin-unicorn": "^37.0.1", | ||
"jest": "^27.2.5", | ||
"jest-nyancat-reporter": "^2.0.0", | ||
"ts-jest": "^27.0.5", | ||
"tslint": "^6.1.3", | ||
"typescript": "^4.4.3", | ||
"typescript-eslint": "^0.0.1-alpha.0" | ||
}, | ||
"scripts": { | ||
"test": "jest", | ||
"build": "tsc", | ||
"lint": "eslint -c .eslintrc.json --ext .ts ./src", | ||
"prepublishOnly": "yarn lint", | ||
"preversion": "yarn lint && yarn build", | ||
"version": "git add -A src", | ||
"postversion": "git push && git push --tags" | ||
}, | ||
"dependencies": { | ||
"cassandra-driver": "^4.6.3" | ||
} | ||
"name": "scyllo", | ||
"version": "0.9.3", | ||
"description": "The Cassandra/Scylla library you didn't want but got anyways.", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/lvkdotsh/scyllo.git" | ||
}, | ||
"author": "Lucemans <[email protected]>", | ||
"files": [ | ||
"lib" | ||
], | ||
"keywords": [ | ||
"cassandra", | ||
"scylla", | ||
"scyllo", | ||
"database", | ||
"client" | ||
], | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/jest": "^27.0.2", | ||
"@typescript-eslint/parser": "^5.2.0", | ||
"chalk": "^4.1.2", | ||
"eslint": "^8.1.0", | ||
"eslint-plugin-jest": "^25.2.2", | ||
"eslint-plugin-radar": "^0.2.1", | ||
"eslint-plugin-simple-import-sort": "^7.0.0", | ||
"eslint-plugin-unicorn": "^37.0.1", | ||
"jest": "^27.2.5", | ||
"jest-nyancat-reporter": "^2.0.0", | ||
"ts-jest": "^27.0.5", | ||
"tslint": "^6.1.3", | ||
"typescript": "^4.4.3", | ||
"typescript-eslint": "^0.0.1-alpha.0" | ||
}, | ||
"scripts": { | ||
"test": "jest", | ||
"build": "tsc", | ||
"lint": "eslint -c .eslintrc.json --ext .ts ./src", | ||
"pub": "yarn build && yarn publish --access public" | ||
}, | ||
"dependencies": { | ||
"cassandra-driver": "^4.6.3" | ||
} | ||
} |