diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 5760be58..00000000 --- a/.editorconfig +++ /dev/null @@ -1,12 +0,0 @@ -# http://editorconfig.org -root = true - -[*] -indent_style = space -indent_size = 2 -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 4932bc10..dfa36801 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -43,4 +43,3 @@ jobs: provenance: true - if: ${{ steps.npm-publish.outputs.type == 'published' }} run: echo "Version changed!" - \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..80b59ca0 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Releases + +on: + push: + tags: + - '*' + +jobs: + + build: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/checkout@v3 + - name: Create Release + uses: ncipollo/release-action@v1 diff --git a/actions.yml b/actions.yml deleted file mode 100644 index 9be2e18c..00000000 --- a/actions.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: "GitHub Actions Test Mocha" -on: - pull_request: - branches: - - master - - zoasophy - -jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: 'Install Node' - uses: actions/setup-node@v1 - - name: Install mocha - run: npm install -g mocha - - name: Install dependencies - run: npm install - - name: "Run Test" - run: mocha test-mocha.test.js diff --git a/package.json b/package.json index ccdc3645..42c6298e 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "build": "rimraf lib && eslint --fix \"{src,test}/**/*.ts\" && npm run ts", "check": "grep -e 'only' -e 'skip' test/*/* || echo 'Ran all tests'", "clean": "rimraf lib dist && rm -f *.log.* src/*.js src/*/*.js test/*.js test/*/*.js", + "clean-git": "git branch -D `git branch --merged | grep -v '\\*' | grep -v 'master'`", "debug": "echo 'Use `debugger;`\n' && mocha --inspect-brk --require ts-node/register --recursive test/**/*-spec.ts", "done": "npm run clean && npm run bs:all && npm run check && npm run tag && npm install && git commit -am 'update version'", "lint": "eslint --fix \"{src,test}/**/*.ts\"", diff --git a/save-commands.json b/save-commands.json deleted file mode 100644 index 52b28115..00000000 --- a/save-commands.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "commands": [ - "src/**/*.ts : npm test", - "test/**/*.ts : npm test" - ] -} diff --git a/typings.json b/typings.json deleted file mode 100644 index 50262bca..00000000 --- a/typings.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "dependencies": { - "inquirer": "registry:npm/inquirer#1.0.0+20160723033700", - "minimist": "registry:npm/minimist#1.0.0+20160723033700" - } -}