Skip to content

Commit

Permalink
feat(apiv6): implement changeset API of APIv0.6 (#15)
Browse files Browse the repository at this point in the history
* feat(/api/0.6/changeset/create): create changeset (#7)

* feat(apiv6): implemented closeChangeset (#12)

* feat(apiv6): implemented upload Changeset (#14)
  • Loading branch information
galta95 authored Dec 3, 2020
1 parent 9112efd commit cfed1cb
Show file tree
Hide file tree
Showing 18 changed files with 1,492 additions and 36 deletions.
20 changes: 0 additions & 20 deletions .eslintrc.js

This file was deleted.

13 changes: 6 additions & 7 deletions .github/workflows/main.yml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,26 @@ on: [pull_request]

jobs:
eslint:
name: Run eslint
name: Run TS Project eslint
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
- name: Check out TS Project Git repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12

# ESLint and Prettier must be in `package.json`
- name: Install Node.js dependencies
- name: Install TS Project dependencies
run: npm install

- name: Run linters
uses: samuelmeuli/lint-action@v1
- name: Run TS Project linters
uses: wearerequired/lint-action@v1
with:
github_token: ${{ secrets.github_token }}
# Enable linters
eslint: true
prettier: true
eslint_extensions: ts
# prettier: true
23 changes: 23 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Tests

on: [pull_request]

jobs:
tests:
name: Run TS Project Tests
runs-on: ubuntu-latest

steps:
- name: Check out TS Project Git repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12

- name: Install Node.js dependencies
run: npm ci

- name: Run tests
run: npm run test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules
.vscode
build
*.config.ts
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"printWidth": 150,
"semi": true,
"singleQuote": true
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# node-osm-api

easy communication with osm api
2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
module.exports = { extends: ['@commitlint/config-conventional'] };
Empty file removed index.ts
Empty file.
Loading

0 comments on commit cfed1cb

Please sign in to comment.