diff --git a/.github/workflows/pr-backstage-plugin.yaml b/.github/workflows/pr-backstage-plugin.yaml index 7e4ea21..b069ce2 100644 --- a/.github/workflows/pr-backstage-plugin.yaml +++ b/.github/workflows/pr-backstage-plugin.yaml @@ -9,7 +9,7 @@ on: - "backstage-plugin/**" - ".github/workflows/pr-backstage-plugin.yaml" - "./.github/workflows/test/test-backstage-plugin.yaml" - - "./.github/workflows/publish/publish-backstage-plugin-npm.yaml" + - "./.github/workflows/publish/publish-backstage-plugin-package.yaml" pull_request: branches: - main @@ -17,7 +17,7 @@ on: - "backstage-plugin/**" - ".github/workflows/pr-backstage-plugin.yaml" - "./.github/workflows/test/test-backstage-plugin.yaml" - - "./.github/workflows/publish/publish-backstage-plugin-npm.yaml" + - "./.github/workflows/publish/publish-backstage-plugin-package.yaml" jobs: test: diff --git a/.github/workflows/publish-backstage-plugin-package.yaml b/.github/workflows/publish-backstage-plugin-package.yaml index 5cbd4a0..1a2f6e2 100644 --- a/.github/workflows/publish-backstage-plugin-package.yaml +++ b/.github/workflows/publish-backstage-plugin-package.yaml @@ -57,7 +57,7 @@ jobs: yarn version --new-version ${{ steps.gitversion.outputs.fullSemVer }} --no-git-tag-version yarn publish --non-interactive --tag pr env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish to GHCR if: github.event_name == 'release' @@ -67,4 +67,4 @@ jobs: sed -i 's/"@devoteam-nl\//"@devoteamnl\//g' package.json yarn publish --non-interactive env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/backstage-plugin/plugins/open-dora/src/components/DashboardComponent/BenchmarkGridItem.test.tsx b/backstage-plugin/plugins/open-dora/src/components/DashboardComponent/BenchmarkGridItem.test.tsx index 8d0d8ff..ec6967a 100644 --- a/backstage-plugin/plugins/open-dora/src/components/DashboardComponent/BenchmarkGridItem.test.tsx +++ b/backstage-plugin/plugins/open-dora/src/components/DashboardComponent/BenchmarkGridItem.test.tsx @@ -38,7 +38,7 @@ describe('BenchmarkGridItem', () => { expect(queryByText('3 deployment days per week(elite)')).not.toBeNull(); }); - it('should show the error returned from the service', async () => { + it('should show the error returned from the services', async () => { server.use( rest.get(benchmarkUrl, (_, res, ctx) => { return res(ctx.status(401));