-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for latest yamdbf indev / djs v12.5.1
- Loading branch information
Showing
11 changed files
with
5,468 additions
and
212 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,37 @@ | ||
name: Publish Indev Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
name: Publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v1 | ||
|
||
- name: Install Node v12 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Build package | ||
run: npx gulp build | ||
|
||
- name: Generate indev version | ||
run: | | ||
git config --global user.name "${{ github.actor }}" | ||
git config --global user.email "${{ github.actor}}@users.noreply.github.com" | ||
npm version $(cat package.json | grep -oP '"version": "\K[^"]+(?=")')-indev.$(git rev-parse --verify HEAD) | ||
- name: Publish to NPM | ||
run: npm publish --tag indev --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,17 @@ | ||
.github/* | ||
.vscode/* | ||
examples/* | ||
src/* | ||
scripts/* | ||
test/* | ||
|
||
.gitignore | ||
.jsdoc.json | ||
.travis.yml | ||
|
||
config.json | ||
|
||
gulpfile.js | ||
yarn.lock | ||
tsconfig.json | ||
tslint.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 |
---|---|---|
@@ -1,26 +1,22 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "0.1.0", | ||
"command": "gulp", | ||
"isShellCommand": true, | ||
"version": "2.0.0", | ||
"command": "npx", | ||
"type": "shell", | ||
"tasks": [ | ||
{ | ||
"taskName": "build:vscode", | ||
"args": [], | ||
"isBuildCommand": true, | ||
"label": "build:vscode", | ||
"args": ["gulp", "build:vscode"], | ||
"group": "build", | ||
"isBackground": false, | ||
"problemMatcher": [ | ||
"$lessCompile", | ||
"$tsc", | ||
"$jshint" | ||
] | ||
"problemMatcher": ["$tsc"] | ||
}, | ||
{ | ||
"taskName": "tests", | ||
"args": ["tests"], | ||
"command": "gulp", | ||
"isShellCommand": true | ||
"label": "tests", | ||
"args": ["gulp", "tests"], | ||
"type": "shell", | ||
"problemMatcher": ["$tsc"] | ||
} | ||
] | ||
} | ||
} |
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.