diff --git a/.github/workflows/ingest-pull.yml b/.github/workflows/ingest-pull.yml index 7930f39..57d4148 100644 --- a/.github/workflows/ingest-pull.yml +++ b/.github/workflows/ingest-pull.yml @@ -32,7 +32,7 @@ jobs: node-version: ${{ env.NODE_VERSION }} - name: ๐Ÿ›  Setup Bun - uses: oven-sh/setup-bun@v1 + uses: oven-sh/setup-bun@v2 with: bun-version: latest @@ -46,7 +46,7 @@ jobs: create_credentials_file: true - name: ๐Ÿ“š Lint Code - run: bun ingest:lint + run: bun lint - name: ๐Ÿงช Run Ingest Tests env: @@ -74,7 +74,7 @@ jobs: node-version: ${{ env.NODE_VERSION }} - name: ๐Ÿ›  Setup Bun - uses: oven-sh/setup-bun@v1 + uses: oven-sh/setup-bun@v2 with: bun-version: latest diff --git a/.github/workflows/ingest-push.yml b/.github/workflows/ingest-push.yml index d8c185b..701e0de 100644 --- a/.github/workflows/ingest-push.yml +++ b/.github/workflows/ingest-push.yml @@ -35,7 +35,7 @@ jobs: node-version: ${{ env.NODE_VERSION }} - name: ๐Ÿ›  Setup Bun - uses: oven-sh/setup-bun@v1 + uses: oven-sh/setup-bun@v2 with: bun-version: latest @@ -49,7 +49,7 @@ jobs: create_credentials_file: true - name: ๐Ÿ“š Lint Code - run: bun ingest:lint + run: bun lint - name: ๐Ÿงช Run Ingest Tests env: @@ -62,7 +62,7 @@ jobs: STAGE: dev TEST_USER: ${{ secrets.TEST_USER }} TEST_USER_PW: ${{ secrets.TEST_USER_PW }} - run: bun ingest:test + run: npm run ingest:test docker: runs-on: ubuntu-latest diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml deleted file mode 100644 index 93a7ce9..0000000 --- a/.github/workflows/linter.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Linter - -on: - workflow_dispatch: - pull_request: - branches-ignore: - - dependabot/** - -permissions: - contents: read - statuses: write - -jobs: - lint: - uses: swrlab/node-utils/.github/workflows/linter.yml@main - with: - install-all: false - log-level: 'NOTICE' - validate-all-codebase: false - javascript-es-config-file: /.eslintrc.json diff --git a/package.json b/package.json index 3c22ed1..8cc3f8c 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "ingest:cloud": "node ./src/ingest/index.js", "ingest:test:local": "node --env-file .env ./node_modules/mocha/bin/mocha --recursive './src/**/*.test.js' --timeout 15000 --exit", "ingest:test": "mocha --recursive './src/**/*.test.js' --timeout 15000 --exit", - "ingest:lint": "biome lint src", + "lint": "biome lint", "docker:build": "docker build . -t swr/ard-eventhub", "docker:run": "docker run --env-file .env -p 8080:8080 --name ard-eventhub swr/ard-eventhub", "docker:scan": "bun docker:build && docker scout quickview",