From 65aae69481ab0ca4c4cbf262a51eba88d4020ed8 Mon Sep 17 00:00:00 2001 From: Traines Date: Sat, 7 Dec 2024 23:59:04 +0000 Subject: [PATCH] fixes --- .github/workflows/test.yml | 101 ++++++++++++++++++------------------- package.json | 2 +- readme.md | 5 -- 3 files changed, 51 insertions(+), 57 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 31e82f44..c9a7509c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,55 +33,54 @@ jobs: - run: npm run lint - run: npm run test-unit -""" - integration-tests: - runs-on: ubuntu-latest - strategy: - matrix: - node-version: - - 16.x - - 18.x - - 20.x - - 22.x - steps: - - name: checkout - uses: actions/checkout@v4 - - name: setup Node.js v${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - - id: cache-npm - name: restore npm cache - uses: actions/cache@v3 - with: - key: npm-cache-${{ github.ref_name }} - path: ${{ env.npm_config_cache }} - - run: npm install - - - run: npm run test-integration - - e2e-tests: - needs: [unit-tests, integration-tests] - runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16.x] - steps: - - name: checkout - uses: actions/checkout@v4 - - name: setup Node.js v${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - - - id: cache-npm - name: restore npm cache - uses: actions/cache@v3 - with: - key: npm-cache-${{ github.ref_name }} - path: ${{ env.npm_config_cache }} - - run: npm install - - - run: npm run test-e2e -""" \ No newline at end of file +# integration-tests: +# runs-on: ubuntu-latest +# strategy: +# matrix: +# node-version: +# - 16.x +# - 18.x +# - 20.x +# - 22.x +# steps: +# - name: checkout +# uses: actions/checkout@v4 +# - name: setup Node.js v${{ matrix.node-version }} +# uses: actions/setup-node@v4 +# with: +# node-version: ${{ matrix.node-version }} +# +# - id: cache-npm +# name: restore npm cache +# uses: actions/cache@v3 +# with: +# key: npm-cache-${{ github.ref_name }} +# path: ${{ env.npm_config_cache }} +# - run: npm install +# +# - run: npm run test-integration +# +# e2e-tests: +# needs: [unit-tests, integration-tests] +# runs-on: ubuntu-latest +# strategy: +# matrix: +# node-version: [16.x] +# steps: +# - name: checkout +# uses: actions/checkout@v4 +# - name: setup Node.js v${{ matrix.node-version }} +# uses: actions/setup-node@v4 +# with: +# node-version: ${{ matrix.node-version }} +# +# - id: cache-npm +# name: restore npm cache +# uses: actions/cache@v3 +# with: +# key: npm-cache-${{ github.ref_name }} +# path: ${{ env.npm_config_cache }} +# - run: npm install +# +# - run: npm run test-e2e diff --git a/package.json b/package.json index d79754e7..820b5a54 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "db-vendo-client", "description": "Client for bahn.de public transport APIs.", - "version": "6", + "version": "6.0.0", "type": "module", "main": "index.js", "files": [ diff --git a/readme.md b/readme.md index 03aed2f3..c701ee45 100644 --- a/readme.md +++ b/readme.md @@ -38,11 +38,6 @@ There are [community-maintained TypeScript typings available as `@types/hafas-cl For the `/departures` and `/arrivals` endpoints, `DB_API_KEY` and `DB_CLIENT_ID` environment variables for RIS::Boards have to be set. -## API - -[API documentation](docs/readme.md) - - ## Related Projects - [hafas-client](https://github.com/public-transport/hafas-client/) – including further related projects